File-existence disclosure via pre-authorization command resolution
Published May 12, 2025 · Updated May 12, 2025
Information disclosure in Trifecta Tech Foundation sudo-rs before 0.2.6 allows local users to infer file existence via sudo --list. The list pipeline resolves the supplied pathname and returns CommandNotFound before checking sudoers authorization, producing a different response for an existing inaccessible file. Local shell access with no or limited sudo privileges is sufficient; the result reveals only existence or nonexistence and potentially sensitive filenames, not file contents.
Summary
What happened
Information disclosure in Trifecta Tech Foundation sudo-rs before 0.2.6 allows local users to infer file existence via sudo --list. The list pipeline resolves the supplied pathname and returns CommandNotFound before checking sudoers authorization, producing a different response for an existing inaccessible file. Local shell access with no or limited sudo privileges is sufficient; the result reveals only existence or nonexistence and potentially sensitive filenames, not file contents.
The record
- CVE
- CVE-2025-46717
- Published
- May 12, 2025
- Updated
- May 12, 2025
- Vendor
- Trifecta Tech Foundation
- Product
- sudo-rs
- Classifications
- CWE-497, T1083
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- May 12, 2025CVE publishedPublication date reported by the CVE source.
- May 12, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 0.2.6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Upstream sudo --list file-existence proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo