Low severity · published May 12, 2025
CVE-2025-46718
sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others
3.3
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 19% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SU
sudo-rs · trifectatechfoundation
< 0.2.6 · source: vendor
SU
Sudo · Trifectatech
before 0.2.6 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-46718
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-46718
Release Notes
https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6
Exploit
https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r
More from sudo-rs
4.4
CVE-2025-64517
sudo-rs doesn't record authenticating user properly in timestamp
3.8
CVE-2025-64170
sudo-rs: Partial password reveal is possible after timeout
3.3
CVE-2025-46717
sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders
