Read the docs
TI-2026-27506 Aliases CVE-2026-35368GHSA-mh5c-xrmh-m794

uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection

Priority HIGH 67CWE-426Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-426.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00136 3rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Uutilscoreutils——No fix listedCNA
—coreutils (crates.io)up to 0.8.0—No fix listedGHSA-mh5c-xrmh-m794
  • coreutils VendorUutils Affected — Fixed in — No fix listed CNA
  • coreutils (crates.io) Vendor— Affected up to 0.8.0 Fixed in — No fix listed GHSA-mh5c-xrmh-m794

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*not specified by NVDVulnerableUutils
  • cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:* Versions not specified by NVD Vulnerable ·Uutils

Remediation

No fixed version listed by the sources yet.

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-35368
  2. 2026-10-03 Alias added: GHSA-mh5c-xrmh-m794

References

  • TI-2026-27498 uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition CVSS 3.1MEDIUM 6.3
  • TI-2026-27488 uutils coreutils cp Unexpected Privileged Executable Creation with -p CVSS 3.1MEDIUM 6.6
  • TI-2026-27502 uutils coreutils mv Arbitrary File Overwrite via Cross-Device TOCTOU Race Condition CVSS 3.1MEDIUM 6.3
  • TI-2026-27493 uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race CVSS 3.1MEDIUM 6.3
  • TI-2026-27511 uutils coreutils ln Local Denial of Service via Improper Handling of Non-UTF-8 Filenames CVSS 3.1MEDIUM 5.5
  • TI-2026-27486 uutils coreutils sort Local Denial of Service via Forced UTF-8 Parsing CVSS 3.1MEDIUM 5.5
See all 43 →

Sources