CVE Explorer
CVE-2026-35368
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
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://github.com/uutils","defaultStatus":"affected","packageName":"coreutils","platforms":["Linux","Unix","macOS"],"product":"coreutils","repo":"https://github.com/uutils/coreutils","vendor":"Uutils"}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:3b3ed593b054ad1aed3c7e0b97e459299015dd6987733bd51c3be49049c93187 · sha256:949f2d39219ceef2… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:3b3ed593b054ad1aed3c7e0b97e459299015dd6987733bd51c3be49049c93187 · sha256:949f2d39219ceef2… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-426","description":"CWE-426: Untrusted Search Path","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:3b3ed593b054ad1aed3c7e0b97e459299015dd6987733bd51c3be49049c93187 · sha256:949f2d39219ceef2… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/uutils/coreutils/issues/10327"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3b3ed593b054ad1aed3c7e0b97e459299015dd6987733bd51c3be49049c93187 · sha256:949f2d39219ceef2… · /containers/adp/0/references/0
{"tags":["issue-tracking"],"url":"https://github.com/uutils/coreutils/issues/10327"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:3b3ed593b054ad1aed3c7e0b97e459299015dd6987733bd51c3be49049c93187 · sha256:949f2d39219ceef2… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.