What’s Vulnerable › Vulnerabilities
CVE-2025-46717: sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders
- Severity: low (CVSS 3.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-05-12 · updated 2026-06-17
- Weakness: CWE-497
Description
sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with no (or very limited) sudo privileges can determine whether files exists in folders that they otherwise cannot access using `sudo --list <pathname>`. Users with local access to a machine can discover the existence/non-existence of certain files, revealing potentially sensitive information in the file names. This information can also be used in conjunction with other attacks. Version 0.2.6 fixes the vulnerability.
Affected products
- trifectatechfoundation sudo-rs: before 0.2.6 — fixed in 0.2.6
How to fix
Upgrade to a fixed version: trifectatechfoundation sudo-rs 0.2.6. Check the vendor advisory for mitigations.
References
- https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-98cv-wqjx-wx8f
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-98cv-wqjx-wx8f
Get alerted when CVE-2025-46717 or the next vulnerability affects your stack