home / blog

2026-11-04 · critical

CVE-2025-32463: Root Escalation in Sudo with --chroot

Sudo before 1.9.17p1 allows root escalation via /etc/nsswitch.conf with --chroot. CVSS 9.3.

CVE-2025-32463: Root Escalation in Sudo with --chroot

CVE-2025-32463 is a local privilege escalation vulnerability in Sudo versions before 1.9.17p1. The flaw exploits how Sudo handles /etc/nsswitch.conf when the --chroot option is used: the application reads the configuration from a user-controlled directory, allowing a local attacker to gain root access.

The CVSS score is 9.3, classified as critical. The vulnerability was published on NVD on June 30, 2025. A GitHub repository is recorded to contain proof-of-concept code for CVE-2025-32463, indicating that exploit code is publicly available and may already be known to potential attackers.

System administrators must update Sudo to version 1.9.17p1 or later. Immediately verify which version of Sudo is running on enterprise systems: the command 'sudo --version' provides this information. On vulnerable versions, restrict access to the --chroot option and monitor system logs for privilege escalation attempts until patching is complete.

At a glance

What
Local privilege escalation in Sudo: reading /etc/nsswitch.conf from user-controlled directory when --chroot option is used.
Severity
CVSS 9.3 (critical)
Affected versions
Sudo before 1.9.17p1
Fix
Update Sudo to version 1.9.17p1 or later
Status
Published on NVD on June 30, 2025; proof-of-concept publicly available
Action
Check Sudo version across enterprise systems (sudo --version); update; restrict --chroot; monitor logs

Sources: NVD, CVE-2025-32463

← All articles