Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Uutils | Coreutils | - |
Related Weaknesses (CWE)
References
- https://github.com/uutils/coreutils/issues/10327ExploitIssue TrackingVendor Advisory
- https://github.com/uutils/coreutils/issues/10327ExploitIssue TrackingVendor Advisory
FAQ
What is CVE-2026-35368?
CVE-2026-35368 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 dropp...
How severe is CVE-2026-35368?
CVE-2026-35368 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-35368?
Check the references section above for vendor advisories and patch information. Affected products include: Uutils Coreutils.