CVE-2026-35368: uutils coreutils has an Untrusted Search Path

CVE-2026-35368 · Severity: high · CVSS 7.8 · Published 2026-04-22

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.

Technologies: coreutils (crates.io), Uutils Coreutils. Vendors: crates.io, Uutils.

Quick answers

Is CVE-2026-35368 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-35368 being exploited in the wild.
How severe is CVE-2026-35368?
High severity, with a CVSS score of 7.8, published 22 April 2026.
Which products and versions are affected?
coreutils (crates.io) SEMVER:introduced=0,last_affected=0.8.0.
Is there a fix for CVE-2026-35368?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2026-35368?
Check whether you run coreutils (crates.io) or Uutils Coreutils at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • coreutils (crates.io) SEMVER:introduced=0,last_affected=0.8.0
  • Uutils Coreutils

Identifiers

  • CVE-2026-35368
  • GHSA-mh5c-xrmh-m794

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.