CVE-2025-46717sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible…
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.
What to do
Fixed builds are available from Debian, Ubuntu, crates.io: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | rust-sudo-rs | Fixed | 0.2.8-1ubuntu2 | UBUNTU-CVE-2025-46717 |
| Ubuntu 24.04 | rust-sudo-rs | Fix pending | UBUNTU-CVE-2025-46717 | |
| Debian 14 | rust-sudo-rs | Fixed | 0.2.5-5 | DEBIAN-CVE-2025-46717 |
| Debian 13 | rust-sudo-rs | Fixed | 0.2.5-5 | DEBIAN-CVE-2025-46717 |
| crates.io library | sudo-rs | Fixed | 0.2.6 | GHSA-98cv-wqjx-wx8f |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- trifectatechfoundation sudo-rs: affected: < 0.2.6
References
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-98cv-wqjx-wx8f
- https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.