CVE-2025-46718 json
sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others
published 2025-05-12 17 mo ago modified 2026-09-10 1 mo ago also GHSA-w9q3-g4p5-5q2r , EUVD-2025-14323
- cvss
- 3.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 19%
- public exploits
- 0
- none known
Summary
sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with limited sudo privileges (e.g. execution of a single command) can list sudo privileges of other users using the `-U` flag. This vulnerability allows users with limited sudo privileges to enumerate the sudoers file, revealing sensitive information about other users' permissions. Attackers can collect information that can be used to more targeted attacks. Systems where users either do not have sudo privileges or have the ability to run all commands as root through sudo (the default configuration on most systems) are not affected by this advisory. Version 0.2.6 fixes the vulnerability.
Patch / fix
- crates.io sudo-rs 0.2.6
- trifectatech sudo 0.2.6
- rust-sudo-rs Debian 14, Debian 13 0.2.5-5
debian advisories DEBIAN-CVE-2025-46718
- rust-sudo-rs Ubuntu 25.10 0.2.8-1ubuntu2
ubuntu advisories UBUNTU-CVE-2025-46718
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-46718 updated cvss 3.3
sudo-rs: sudo-rs: Privilege Enumeration Vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
0.27% chance of exploitation in the next 30 days, higher than 19% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
| GitHub | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | sudo-rs | <0.2.6 |
0.2.6 |
Affected products
- trifectatechfoundation sudo-rs
Classification
- Weakness
-
- CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere
References
-
github.com
/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r
exploit, web, vendor-advisory
-
github.com
/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6
web, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2025-46718
advisory
-
github.com
/trifectatechfoundation/sudo-rs
package
Sources
- CVE List CVE-2025-46718
- GitHub Advisory GHSA-w9q3-g4p5-5q2r
- NVD CVE-2025-46718
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.