CVE-2025-46717 sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
6 packages: 4 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/rust-sudo-rs(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| crates.io sudo-rs(crates.io) | < 0.2.6; <= 0.2.5 | 0.2.6 | Fixed |
| debian/rust-sudo-rs(Debian 13) | < 0.2.5-5 | 0.2.5-5 | Fixed |
| debian/rust-sudo-rs(Debian 14) | < 0.2.5-5 | 0.2.5-5 | Fixed |
| trifectatech sudo | < 0.2.6 | 0.2.6 | Fixed |
| trifectatechfoundation sudo-rs | = < 0.2.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io sudo-rs(crates.io) | < 0.2.6 | 0.2.6 |
| debian/rust-sudo-rs(Debian:13) | < 0.2.5-5 | 0.2.5-5 |
| debian/rust-sudo-rs(Debian:14) | < 0.2.5-5 | 0.2.5-5 |
| crates.io sudo-rs(crates.io) | <= 0.2.5 | No fix listed |
| trifectatechfoundation sudo-rs | = < 0.2.6 | No fix listed |
| ubuntu/rust-sudo-rs(Ubuntu:24.04) | All versions | No fix listed |
| trifectatech sudo | < 0.2.6 | 0.2.6 |
References
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-98cv-wqjx-wx8f exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6 release-notes
- Debian Security Tracker CVE-2025-46717 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org