sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-497.
Summary
sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with limited sudo privileges (e.g. execution of a single command) can list sudo privileges of other users using the `-U` flag. This vulnerability allows users with limited sudo privileges to enumerate the sudoers file, revealing sensitive information about other users' permissions. Attackers can collect information that can be used to more targeted attacks. Systems where users either do not have sudo privileges or have the ability to run all commands as root through sudo (the default configuration on most systems) are not affected by this advisory. Version 0.2.6 fixes the vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| trifectatechfoundation | sudo-rs | before 0.2.6 | 0.2.6 | Patch available | CNA |
| — | sudo-rs (crates.io) | before 0.2.6 | 0.2.6 | Patch available | GHSA-w9q3-g4p5-5q2r |
- sudo-rs Vendortrifectatechfoundation Affected before 0.2.6 Fixed in 0.2.6 Patch available CNA
- sudo-rs (crates.io) Vendor— Affected before 0.2.6 Fixed in 0.2.6 Patch available GHSA-w9q3-g4p5-5q2r
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:* | before 0.2.6 | Vulnerable | Trifectatech |
- cpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:* Versions before 0.2.6 Vulnerable ·Trifectatech
Remediation
- Fix · CNA sudo-rs (trifectatechfoundation) Fixed in 0.2.6
- Fix · GHSA-w9q3-g4p5-5q2r sudo-rs (crates.io) Fixed in 0.2.6 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2025-46718
- 2026-10-03 Alias added: GHSA-w9q3-g4p5-5q2r
References
More trifectatechfoundation vulnerabilities
- TI-2025-39907 sudo-rs doesn't record authenticating user properly in timestamp CVSS 3.1MEDIUM 4.4
- TI-2025-39614 sudo-rs: Partial password reveal is possible after timeout CVSS 3.1LOW 3.8
Sources
- CVE-2025-46718 · CVE Program
- CVE-2025-46718 · NVD
- FIRST EPSS
- GHSA-w9q3-g4p5-5q2r · GitHub Advisory Database · CC BY 4.0
- CVE-2025-46718 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences