# CVE-2025-46718: sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others

- Severity: Low 3.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-12T14:54:24.925Z
- Modified: 2026-09-10T03:50:24.683Z
- Also known as: GHSA-w9q3-g4p5-5q2r
- Weaknesses: CWE-497
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- trifectatechfoundation sudo-rs: < 0.2.6
- sudo-rs (crates.io): before 0.2.6
- trifectatech sudo: before 0.2.6

## Every score

- GitHub_M: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 3.3 Low `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r> (exploit, vendor-advisory, web)
- <https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-46718> (advisory)
- <https://github.com/trifectatechfoundation/sudo-rs> (package)

## Sources

- CVE List: [CVE-2025-46718](https://www.cve.org/CVERecord?id=CVE-2025-46718), CVE Terms of Use, modified 2025-05-12
- GitHub Advisory Database: [GHSA-w9q3-g4p5-5q2r](https://github.com/advisories/GHSA-w9q3-g4p5-5q2r), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-46718](https://nvd.nist.gov/vuln/detail/CVE-2025-46718), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-46718 · Whole record: https://cve.day/CVE-2025-46718.json · Rebuilt by cve.day 2026-11-25T22:58:57.914Z
