Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. sudo-rs
  4. ›
  5. CVE-2025-46718

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

May 13, 2025

Users with limited sudo privileges (e.g. execution of a single command) can list sudo privileges of other users using the -U flag. This doesn’t happen with the original sudo.

References

  • github.com/advisories/GHSA-w9q3-g4p5-5q2r
  • github.com/trifectatechfoundation/sudo-rs
  • github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6
  • github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-w9q3-g4p5-5q2r
  • nvd.nist.gov/vuln/detail/CVE-2025-46718

Code Behaviors & Features

Detect and mitigate CVE-2025-46718 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.2.6

Fixed versions

  • 0.2.6

Solution

Upgrade to version 0.2.6 or above.

Impact 3.3 LOW

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-497: Exposure of Sensitive System Information to an Unauthorized Control Sphere

Source file

cargo/sudo-rs/CVE-2025-46718.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:23 +0000.