Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf from a user-controlled directory is used with the --chroot option.
When Sudo is run with the --chroot option, the program loads the /etc/nsswitch.conf configuration file from the specified chroot directory, which can be controlled by a local user. An attacker can prepare a crafted nsswitch.conf file in their directory, causing a malicious library to be loaded or changing the behavior of name resolution mechanisms (NSS). This results in execution of unauthorized code with root privileges in the context of the Sudo process (CWE-829: Inclusion of Functionality from Untrusted Control Sphere).
An attacker with local access to the system can obtain full root privileges, enabling system takeover, reading and modifying any files, as well as further offensive actions on the network.
The Sudo package must be updated to version 1.9.17p1 or later. For individual distributions, patches available from the vendor should be applied according to references (Red Hat, Debian, Ubuntu USN-7604-1, openSUSE, Amazon Linux).
Sudo prior to version 1.9.17p1 on systems such as SUSE Linux Enterprise Server for SAP, Red Hat Enterprise Linux, Debian Linux, openSUSE Leap, and Canonical Ubuntu Linux.
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:HCanonical Ubuntu
OSCanonical22.0424.0424.1025.04Debian
OSDebian11.012.013.0Opensuse Leap
OSOpensuse15.6Red Hat Enterprise Linux
OSRedhat10.0Sudo Project Sudo
APPSudo Project1.9.171.9.14 – 1.9.17 (excl.)SUSE Linux Enterprise Desktop
OSSuse15SUSE Linux Enterprise Real Time
OSSuse15.0SUSE Linux Enterprise Server For Sap
OSSuse12
CISA KEV — detailsi
- Vendori
- Sudo
- Producti
- Sudo
- Added to KEVi
- September 29, 2025
- Remediation deadline (US Federal)i
- October 20, 2025(overdue)
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Sudo contains an inclusion of functionality from untrusted control sphere vulnerability. This vulnerability could allow local attacker to leverage sudo’s -R (--chroot) option to run arbitrary commands as root, even if they are not listed in the sudoers file.
Related vulnerabilities
GNU Inetutils telnetd: ominięcie uwierzytelnienia przez zmienną USER
RCE przez deserializację PHP w Roundcube Webmail (parametr _from)
Erlang/OTP SSH — nieuwierzytelniony RCE (CVSS 10.0)
Apple WebKit: out-of-bounds write umożliwiający ucieczkę z sandbox przeglądarki
Apache Tomcat: Path Equivalence prowadzący do RCE i ujawnienia danych