Skip to main content
← All vulnerabilities
CVE-2025-46718GHSA-W9Q3-G4P5-5Q2R

sudo-rs Allows Low Privilege Users to Enumerate Privileges of Others

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.2.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • trifectatechfoundation sudo-rs

    fixed in 0.2.6

  • sudo-rscrates.io

    fixed in 0.2.6

References 2

GitHub · trifectatechfoundation/sudo-rs