CVE-2025-46718

Source
https://cve.org/CVERecord?id=CVE-2025-46718
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-46718.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-46718
Aliases
Downstream
Published
2025-05-12T14:54:24.925Z
Modified
2026-08-12T03:30:33.870018673Z
Severity
  • 3.3 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/46xxx/CVE-2025-46718.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-497"
    ]
}
References

Affected packages

Git / github.com/trifectatechfoundation/sudo-rs

Affected ranges

Type
GIT
Repo
https://github.com/trifectatechfoundation/sudo-rs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE",
        "REFERENCES"
    ],
    "cpe": "cpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.2.6"
        }
    ]
}

Affected versions

v0.*
v0.1.0-dev.20230620
v0.2.0
v0.2.0-dev.20230627
v0.2.0-dev.20230703
v0.2.0-dev.20230711
v0.2.1
v0.2.3
v0.2.5
v0.2.6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-46718.json"