{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-49809 exists.","fix":"Apply the vendor's patch.","what":"CVE-2025-49809 is a high-severity command injection vulnerability in mtr, published on 4 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-49809 and fix it if it is affected.\n\nWhat it is: CVE-2025-49809 is a high-severity command injection vulnerability in mtr, published on 4 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-49809 exists.\n\nAffected product: mtr. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-49809/ (Markdown: https://insights.sbomify.com/CVE-2025-49809/index.md)","id":"CVE-2025-49809","markdown":"https://insights.sbomify.com/CVE-2025-49809/index.md","name":"CVE-2025-49809","record":{"aliases":["AZL-65136","AZL-65232","DEBIAN-CVE-2025-49809","GHSA-hvvx-vw37-6fjm","MINI-q244-fvfc-2v3c","UBUNTU-CVE-2025-49809"],"analysis":{"component_type":"operating_system","fix_type":"patch","impacts":["code_execution","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"network diagnostic tool","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary commands with elevated privileges by manipulating the MTR_PACKET environment variable in privileged contexts.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"}],"description":"mtr through 0.95, in certain privileged contexts, mishandles execution of a program specified by the MTR_PACKET environment variable. NOTE: mtr on macOS may often have Sudo rules, as an indirect consequence of Homebrew not installing setuid binaries.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Command injection in mtr","id":"CVE-2025-49809","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2025"},"n_packages":0,"n_references":3,"next":{"headline":"Thread summarization allows persistent access to channel","id":"CVE-2025-49810"},"packages":[],"prev":{"headline":"Privilege escalation in Multiple driver installers for Windows","id":"CVE-2025-49797"},"products":["mtr"],"published":"2025-07-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-07-08","vendors":["mtr"]},"summary":"Attackers can execute arbitrary commands with elevated privileges by manipulating the MTR_PACKET environment variable in privileged contexts.","url":"https://insights.sbomify.com/CVE-2025-49809/"}