CVE-2026-35368 — Vulnerability in coreutils — CVE Details
uutils coreutils has an Untrusted Search Path
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.15%). Schedule for your next planned update.
Does your project use an affected coreutils version?
Paste your Cargo.lock to check it for CVE-2026-35368 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published April 22, 2026 (218 days ago).
- Last revised September 10, 2026 — 140 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: crates.io (1).
| Package | Fixed In |
|---|---|
| coreutils crates.io · Affected: All versions | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-426
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.8 score means for each attack dimension.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
References
Frequently Asked Questions
- What is CVE-2026-35368?
- uutils coreutils has an Untrusted Search Path. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.8/10).
- How do I check if my project is affected by CVE-2026-35368?
- CVE-2026-35368 affects coreutils. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-35368 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 2.3% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-83816HIGH
CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE
- CVE-2026-83817HIGH
CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution
- CVE-2026-35352HIGH
uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
- CVE-2026-35374MEDIUM
uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition
- CVE-2026-35364MEDIUM
uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition
- CVE-2026-35360MEDIUM
uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition
- CVE-2026-35350MEDIUM
uutils coreutils doesn't properly handle setuid and setgid bits when ownership preservation fails