{"id":"CVE-2026-35368","revision":"2964d2dc693e4199a158e2e4129ecba3","records":[{"revision":"2964d2dc693e4199a158e2e4129ecba3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-35368","aliases":[],"title":"uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection","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.","state":0,"publishedAt":"2026-04-22T16:08:48.965+00:00","modifiedAt":"2026-04-25T03:55:34.11+00:00","affected":[{"ecosystem":"https://github.com/uutils","name":"coreutils","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Uutils\",\n                    \"product\": \"coreutils\",\n                    \"platforms\": [\n                        \"Linux\",\n                        \"Unix\",\n                        \"macOS\"\n                    ],\n                    \"collectionURL\": \"https://github.com/uutils\",\n                    \"packageName\": \"coreutils\",\n                    \"repo\": \"https://github.com/uutils/coreutils\",\n                    \"defaultStatus\": \"affected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","score":7.2,"severity":"HIGH"}],"references":["https://github.com/uutils/coreutils/issues/10327"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-35368","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-35368","identifiers":["CVE-2026-35368"]},"retained":false,"historicalAffected":[]}],"coverage":[]}