CVE-2025-46717
LOW 3.3CVSS 3.1sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders
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.
- Published
- 12 May 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-497
- Also known as
- GHSA-98cv-wqjx-wx8f
- Sources
- NVDJSONOSV GHSA-98cv-wqjx-wx8fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | trifectatech | sudocpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:* |
< 0.2.6 | 0.2.6 |
| OSV | crates.io | sudo-rs | < 0.2.6 | 0.2.6 |
References
- https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6 · Release Notes, WEB
- https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-98cv-wqjx-wx8f · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-46717 · ADVISORY
- https://github.com/trifectatechfoundation/sudo-rs · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 12 May 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 May 2025)