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

Exp

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.

Published: 2025-05-12 Last update: 2025-07-09 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-46718 is rated Exploit Available (50/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.10%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-46718

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-46718

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-03-08 0.01% 0.10% +0.09%
2 2025-05-13 0.01%

Full EPSS history (2 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-46718

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.3 3.1 LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.8 1.4 [email protected]

Weakness enumeration for CVE-2025-46718

GitHub Security Advisory for CVE-2025-46718

GHSA-w9q3-g4p5-5q2r · Severity: low · Ecosystem: rust — sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others

OS Trackers for CVE-2025-46718

vendor priority summary link
debian not yet assigned CVE-2025-46718 not yet assigned priority: Debian including 1 source packages (rust-sudo-rs), 3 status rows across 3 suites (forky, sid, trixie): resolved 3. https://security-tracker.debian.org/tracker/CVE-2025-46718
ubuntu medium CVE-2025-46718 medium priority: Ubuntu including 1 source packages (rust-sudo-rs), 7 status rows across 7 suites (focal, jammy, noble, oracular, plucky, questing, upstream): DNE 2, ignored 2, released 2, needed 1. https://ubuntu.com/security/CVE-2025-46718

Affected software / configurations for CVE-2025-46718

Vendor Product Version Raw CPE
trifectatech sudo < 0.2.6 cpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:*

References for CVE-2025-46718

cvelogic Threat Intelligence