CVE-2025-46717
sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders
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.
How to fix CVE-2025-46717
To remediate CVE-2025-46717, upgrade the affected package to a fixed version below.
- —upgrade to 0.2.5-5 or later
- —upgrade to 0.2.6 or later
Is CVE-2025-46717 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 0.2.5-5
- from 0, < 0.2.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | LOW3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |