
Proof-of-concept exploit for CVE-2025-32463, a local privilege escalation vulnerability in sudo allowing chroot jail escape via specific sudoers configurations.
A critical vulnerability affecting
sudoversions 1.9.0 to 1.9.17p1, allowing users to escape fromchrootand gain access to the real root filesystem.
CVE-2025-32463 is a local privilege escalation vulnerability in sudo that enables users with specific sudoers configurations to escape a chroot jail and access the host system’s root directory.
If your /etc/sudoers contains lines such as:
some_user ALL=(ALL:ALL) CHROOT=/path/to/jail /path/to/elf-binary
Then your system is potentially vulnerable.
This repository demonstrates a working Proof of Concept to exploit the vulnerability.
⚠️ This PoC is for educational and research purposes only. Use responsibly and only in environments you own or have explicit permission to test.

sudo (1.9.0 to 1.9.17p1)git clone https://github.com/your-username/CVE-2025-32463-PoC.git
cd CVE-2025-32463-PoC
chmod +x CVE-2025-32463.sh
./CVE-2025-32463.sh
Read the exploit code and adapt it as needed for your environment.
Execute the PoC under the chrooted sudo environment.
🛡️ Mitigation To protect your systems:
📚 References
⚠️ Disclaimer This project is licensed under the MIT License. This PoC is provided as-is, with no guarantees or warranties. Use at your own risk.