{"id":"CVE-2026-35368","sourceIdentifier":"security@ubuntu.com","published":"2026-04-22T17:16:40.560","lastModified":"2026-06-17T10:40:28.400","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security@ubuntu.com","affectedData":[{"vendor":"Uutils","product":"coreutils","defaultStatus":"affected","collectionURL":"https://github.com/uutils","packageName":"coreutils","platforms":["Linux","Unix","macOS"],"repo":"https://github.com/uutils/coreutils"}]}],"metrics":{"cvssMetricV31":[{"source":"security@ubuntu.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.1,"impactScore":6.0}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-23T00:00:00+00:00","id":"CVE-2026-35368","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@ubuntu.com","type":"Secondary","description":[{"lang":"en","value":"CWE-426"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*","matchCriteriaId":"4A9AF9E4-E17C-48AD-8051-B49998618839"}]}]}],"references":[{"url":"https://github.com/uutils/coreutils/issues/10327","source":"security@ubuntu.com","tags":["Exploit","Issue Tracking","Vendor Advisory"]},{"url":"https://github.com/uutils/coreutils/issues/10327","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","tags":["Exploit","Issue Tracking","Vendor Advisory"]}]}