Advisory

GHSA-mh5c-xrmh-m794

Also known as: CVE-2026-35368

Summary

uutils coreutils has an Untrusted Search Path

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-04-22 18:31 UTC
Modified
2026-09-10 03:51 UTC

Affected packages and fixes

coreutils

crates.io · All systems

Affected

  • introduced 0, last affected 0.8.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences