Auth bypass in Sudo Project
CVE-2025-32462
Sudo before 1.9.17p1, when used with a sudoers file that specifies a host that is neither the current host nor ALL, allows listed users to execute commands on unintended machines.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 2.8 (Low). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.045, 91.6th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Sudo Project — versions 1.8.8
- Sudo Project — versions 1.9.17
Weakness classification (CWE)
Public exploits and proof-of-concept code
15 public repositories with exploit or proof-of-concept code for this CVE:
- CryingN/CVE-2025-32462 (13 stars, last pushed 2026-05-06): A easy sudo poc by cryingn.
- 0p5cur/CVE-2025-32462-POC (9 stars, last pushed 2026-02-17): 🔓 Local privilege escalation PoC for CVE-2025-32462 (sudo -h bypass) – gain root via misconfigured sudoers
- MAAYTHM/CVE-2025-32462_32463-Lab (5 stars, last pushed 2025-07-07): Docker PoC for CVE-2025-32462 & CVE-2025-32463 (sudo), based on Stratascale CRU research.
- SpongeBob-369/cve-2025-32462 (3 stars, last pushed 2025-07-08): cve-2025-32462' demo
- yonathanpy/CVE-2025-32462-CVE-2025-32463-PoC-Lab (2 stars, last pushed 2026-03-05)
- j3r1ch0123/CVE-2025-32462 (1 star, last pushed 2025-07-28): The vulnerability was found by Rich Mirch. More details on it here: https://cxsecurity.com/issue/WLB-2025070022
- cybersentinelx1/CVE-2025-32462-Exploit (1 star, last pushed 2025-07-03): CVE-2025-32462 Exploit
- lakshan-sameera/CVE-2025-32462-and-CVE-2025-32463---Critical-Sudo-Vulnerabilities (last pushed 2026-01-14): POC for the CVE-2025-32462 and CVE-2025-32463 vulnerabilities
- OffSecPlaybook/CVE-2025-32462- (last pushed 2025-12-25): CVE-2025-32462 is a local privilege escalation vulnerability in sudo
- harsh1verma/CVE-Analysis (last pushed 2025-10-07): CVE-2025-32462 & CVE-2025-32463
5 more are listed on the interactive page.
Also mentioned in 21 other repositories (ARPSyndicate/cve-scores, DaadaAyoze/CVE-2025-32463-lab, defronixpro/Defronix-Cybersecurity-Roadmap, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.sudo.ws/security/advisories/ (Vendor Advisory)
- www.sudo.ws/releases/changelog/ (Release Notes)
- www.stratascale.com/vulnerability-alert-CVE-2025-32462-sudo-host (Exploit, Third Party Advisory)
- www.openwall.com/lists/oss-security/2025/06/30/2 (Mailing List, Third Party Advisory)
- ubuntu.com/security/notices/USN-7604-1
- www.secpod.com/blog/sudo-lpe-vulnerabilities-resolved-what-you-need-to-know-abo… (Third Party Advisory)
- www.sudo.ws/security/advisories/host_any/
- lists.debian.org/debian-security-announce/2025/msg00118.html
- explore.alas.aws.amazon.com/CVE-2025-32462.html
- bugs.gentoo.org/show_bug.cgi
This CVE has public exploit evidence. See the latest CVEs with public exploits.