CVE-2025-46717
Trifectatech Sudo vulnerability
sudo-rs is a memory safe implementation of sudo and su written in Rust. Prior to version 0.2.6, users with no (or very limited) sudo privileges can determine whether files exists in folders that they otherwise cannot access using `sudo --list <pathname>`. Users with local access to a machine can discover the existence/non-existence of certain files, revealing potentially sensitive information in the file names. This information can also be used in conjunction with other attacks. Version 0.2.6 fixes the vulnerability.
Affected products
Sudo. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Trifectatech Sudo runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-98cv-wqjx-wx8f · Exploit
- github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6
- nvd.nist.gov/vuln/detail/CVE-2025-46717
- github.com/advisories/GHSA-98cv-wqjx-wx8f
- nvd.nist.gov/vuln/detail/CVE-2025-46717
- cve.org/CVERecord?id=CVE-2025-46717
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.