Security mailing lists by PureSourceCode

CVE-2025-46718

LOW 3.3CVSS 3.1

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

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
12 May 2025
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-497
Also known as
GHSA-w9q3-g4p5-5q2r
Sources
NVDJSONOSV GHSA-w9q3-g4p5-5q2rJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 3.3 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD trifectatech sudo
cpe:2.3:a:trifectatech:sudo:*:*:*:*:*:rust:*:*
< 0.2.6 0.2.6
OSV crates.io sudo-rs < 0.2.6 0.2.6

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 12 May 2025)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 13 May 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.