Vulnerability
CVE-2025-32462
Vulnerability details
- Score
- 2.8
- Severity
- low
CVSS 3.1 · mitre
Vector string
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:N/I:L/A:NDescription
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.
CVE ProgramExploit source choices
10 sourcesSudo before version 1.19.17p1 allows user to use `chroot` option, when executing command. The option is intended to run a command with user-selected root directory (if sudoers file allow it). Change in version 1.9.14 allows resolving paths via `chroot` using user-specified root directory when sudoers is still evaluating. This allows the attacker to trick Sudo into loading arbitrary shared object, thus resulting in a privilege escalation.
A easy sudo poc by cryingn.
🔓 Local privilege escalation PoC for CVE-2025-32462 (sudo -h bypass) – gain root via misconfigured sudoers
Docker PoC for CVE-2025-32462 & CVE-2025-32463 (sudo), based on Stratascale CRU research.
cve-2025-32462' demo
yonathanpy/cve-2025-32462-cve-2025-32463-poc-lab source repository
CVE-2025-32462 Exploit
The vulnerability was found by Rich Mirch. More details on it here: https://cxsecurity.com/issue/WLB-2025070022
Privilege-escalation analysis of CVE-2025-32462 in sudo, with a Docker-based exploit demo