CVE-2026-35368
published high CVSS 3.1 · 7.2uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Uutils | — | coreutilsPlatforms: Linux, Unix, macOS | Affected | Not stated | canonical |
| Ubuntu | resolute | rust-coreutils | Advisory build | 0.10.0-1ubuntu2~26.04.1 | USN-9041-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.2 / 10
- Severity
- high
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Uutils | coreutils | Default: affected | canonical · cna |
Weaknesses
1- CWE-426 CWE-426: Untrusted Search Path
References
1Provider assertions
2canonical · cna
uutils coreutils chroot Local Privilege Escalation and chroot Escape in via Name Service Switch (NSS) Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 98d06f837cfb10a08e70a4347a7dde03036f4ddb810bec0bbe7a3a20f6ea523b
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record