{"id":"CVE-2026-35368","published":"2026-04-22T16:08:48Z","modified":"2026-04-25T03:55:34Z","title":"uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection","vendor":"Uutils","product":"coreutils","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00142,"percentile":0.03546,"provenance":"source"},"cwes":[{"id":"CWE-426","name":"Untrusted Search Path"}],"references":[{"url":"https://github.com/uutils/coreutils/issues/10327","tags":["issue-tracking"]}],"priority":{"score":5.7,"factors":[{"name":"EPSS percentile","points":0.71},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"uutils","affectedVersions":[{"vendor":"Uutils","product":"coreutils","versions":["all versions"]}],"capec":[{"id":"CAPEC-233","name":"Privilege Escalation"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-23T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"coreutils","vulnerableRanges":["<=0.8.0"],"patched":[],"from":["GHSA-mh5c-xrmh-m794"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-25016","exploited":false,"provenance":"source"}}