CVE-2025-46717 sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders
Low-privilege users can discover the existence of files in inaccessible directories via sudo --list, potentially revealing sensitive information.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-46717?
CVE-2025-46717 is a low-severity vulnerability in trifectatechfoundation sudo-rs, published on 12 May 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-497
Which versions are affected by CVE-2025-46717?
2 open source packages ship an affected version, including sudo-rs. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
sudo-rs crates.io | All versions | 0.2.6 |
sudo-rs crates.io | All versions | 0.2.6 |
Products include Trifectatech Sudo.
How do I fix CVE-2025-46717?
Upgrade sudo-rs to 0.2.6 or later.
Is CVE-2025-46717 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-46717 exists.
Other vulnerabilities in trifectatechfoundation sudo-rs
Sources
Also known as DEBIAN-CVE-2025-46717, GHSA-98cv-wqjx-wx8f, MINI-f62q-6rxh-jvwh, UBUNTU-CVE-2025-46717.