CVE-2026-35368 json
uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection
published 2026-04-22 6 mo ago modified 2026-10-26 13 d ago also GHSA-mh5c-xrmh-m794 , EUVD-2026-25016
- cvss
- 7.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.1%
- EPSS 0.1% chance of exploitation in 30 days, percentile 3%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rust-coreutils Debian 14 0.9.0-1
debian advisories DEBIAN-CVE-2026-35368
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-35368 updated cvss 7.8
rust-coreutils: uutils coreutils: Privilege escalation and arbitrary code execution in chroot utility
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 6 mo ago
Exploit prediction
0.14% chance of exploitation in the next 30 days, higher than 3% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/uutils/coreutils/issues/10327 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | coreutils | <=0.8.0 |
no fix listed |
Affected products
- Uutils coreutils
Classification
- Weakness
-
- CWE-426 Untrusted Search Path
References
-
github.com
/uutils/coreutils/issues/10327
issue-tracking, exploit, web, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-35368
advisory
-
github.com
/uutils/coreutils
package
Sources
- CVE List CVE-2026-35368
- GitHub Advisory GHSA-mh5c-xrmh-m794
- NVD CVE-2026-35368
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.