{"cve":"CVE-2025-46718","nvd":{"published":"2025-05-12T15:16:01.397","modified":"2026-06-17T09:26:52.053","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":3.3},"cwes":["CWE-497"],"references":["https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6","https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r","https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r"],"products":["trifectatech:sudo"],"source":"nvd","synced_at":"2026-10-19T22:01:22.920403922+00:00"},"epss":{"cve":"CVE-2025-46718","score":0.00271,"percentile":0.19549,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w9q3-g4p5-5q2r","url":"https://osv.dev/vulnerability/GHSA-w9q3-g4p5-5q2r","summary":"sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others","modified":"2026-09-10T03:50:24.683889759Z","packages":[{"ecosystem":"crates.io","name":"sudo-rs","purl":"pkg:cargo/sudo-rs","ranges":["<0.2.6"],"fixed":["0.2.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}