← Vulnerability feed

Vulnerability record · CVE-2026-35368 · published 22 April 2026

CVE-2026-35368: Uutils coreutils untrusted search path vulnerability

UUutils · Coreutils

A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility resolves the user specification via getpwnam() after entering the chroot but before dropping root privileges. On glibc-based systems, this can trigger the Name Service Switch (NSS) to load shared libraries (e.g., libnss_*.so.2) from the new root directory. If the NEWROOT is writable by an attacker, they can inject a malicious NSS module to execute arbitrary code as root, facilitating a full container escape or privilege escalation.

7.8 CVSS 3.1 High EPSS 0.15% · top 96.7% CWE-426 · Untrusted search path
7.8CVSS 3.1 base score
0.15%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

A vulnerability exists in the chroot utility of uutils coreutils when using the --userspec option. The utility resolves the user specification via getpwnam() after entering the chroot but before dropping root privileges. On glibc-based systems, this can trigger the Name Service Switch (NSS) to load shared libraries (e.g., libnss_*.so.2) from the new root directory. If the NEWROOT is writable by an attacker, they can inject a malicious NSS module to execute arbitrary code as root, facilitating a full container escape or privilege escalation.

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/uutils/coreutils/issues/10327 ExploitIssue TrackingVendor Advisory
https://github.com/uutils/coreutils/issues/10327 ExploitIssue TrackingVendor Advisory

Track CVE-2026-35368 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.7CVE-2026-35349Uutils coreutils link following vulnerabilityA vulnerability in the rm utility of uutils coreutils allows a bypass of the --preserve-root protection. The implementation uses a path-string check …EPSS 0.21%7.3CVE-2026-35338Uutils coreutils path traversal vulnerabilityA vulnerability in the chmod utility of uutils coreutils allows users to bypass the --preserve-root safety mechanism. The implementation only validat…EPSS 0.20%7.1CVE-2026-35341Uutils coreutils incorrect permission assignment vulnerabilityA vulnerability in uutils coreutils mkfifo allows for the unauthorized modification of permissions on existing files. When mkfifo fails to create a F…EPSS 0.14%7.0CVE-2026-35352Uutils coreutils toctou race condition vulnerabilityA Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility creates a FIFO and then performs…EPSS 0.12%6.6CVE-2026-35365Uutils coreutils link following vulnerabilityThe mv utility in uutils coreutils improperly handles directory trees containing symbolic links during moves across filesystem boundaries. Instead of…EPSS 0.19%6.6CVE-2026-35350Uutils coreutils vulnerabilityThe cp utility in uutils coreutils fails to properly handle setuid and setgid bits when ownership preservation fails. When copying with the -p (prese…EPSS 0.13%6.3CVE-2026-35374Uutils coreutils toctou race condition vulnerabilityA Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the split utility of uutils coreutils. The program attempts to prevent data loss by c…EPSS 0.09%6.3CVE-2026-35364Uutils coreutils toctou race condition vulnerabilityA Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mv utility of uutils coreutils during cross-device operations. The utility remov…EPSS 0.10%

Source: NIST National Vulnerability Database (record CVE-2026-35368), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.