CVE-2025-46718

sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others

Published May 12, 2025 CVSS 3.1 · 3.3 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-14323 sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others
Github GHSA Github GHSA GHSA-w9q3-g4p5-5q2r sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others
History
Type Values Removed Values Added
First Time appeared Trifectatech
Trifectatech sudo
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:*
Vendors & Products Trifectatech
Trifectatech sudo
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others
Weaknesses CWE-497
References
Metrics cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 12, 2025, 10:06 PM
Reserved
Apr 28, 2025, 8:56 PM
Status
Analyzed
Published
May 12, 2025, 3:16 PM
Modified
Jun 17, 2026, 9:26 AM