CVE-2025-49809 Details
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.
A privilege escalation vulnerability has been identified in MTR versions prior to 0.95. In certain privileged contexts, the application improperly handles the execution of a program designated by the MTR_PACKET environment variable. This issue is particularly relevant for MTR installed through Homebrew on macOS, where it may inherit sudo privileges, creating a potential security risk.
Users can manually set the MTR_PACKET environment variable to point to a valid 'mtr-packet' executable that is setuid root. Alternatively, MTR can be installed with the correct permissions using a Homebrew formula that includes the setuid option.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 4, 2025CISA-ADP
Assessed Jul 8, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/traviscross/mtr/blob/master/SECURITY | CISA-ADP | Vendor |
| https://github.com/Homebrew/homebrew-core/issues/35085 | [email protected] | Issue TrackingTechnical DescriptionVendor |
| https://github.com/traviscross/mtr/blob/master/SECURITY | [email protected] | Vendor |
| https://github.com/traviscross/mtr/commit/5226f105f087c29d3cfad9f28000e7536af91ac6 | [email protected] | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mtr | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 8, 2025 | CVE Modified | CISA-ADP |
| Jul 4, 2025 | New CVE Received | [email protected] |
Volerion