Skip to main content

CVE-2026-35368 — Vulnerability in coreutils — CVE Details

HIGH

uutils coreutils has an Untrusted Search Path

Published April 22, 2026Updated September 10, 2026Source: OSV

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.

Check my Cargo.lock

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).

PackageFixed In
coreutils crates.io · Affected: All versionsRange-based data available

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 7.8 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H

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

CVSS Score
7.8

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.15%
EPSS percentile: 2.3

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

GHSA-mh5c-xrmh-m794

Related CVEs

  • CVE-2026-83816
    HIGH

    CodeWhale: exec_shell parallel-readonly classifier auto-approves fd/rg/git grep exec flags enabling silent RCE

  • CVE-2026-83817
    HIGH

    CodeWhale: Automation auto_approve defaults to true, bypassing the task-path hardening fix for silent recurring agent execution

  • CVE-2026-35352
    HIGH

    uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition

  • CVE-2026-35374
    MEDIUM

    uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

  • CVE-2026-35364
    MEDIUM

    uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

  • CVE-2026-35360
    MEDIUM

    uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

  • CVE-2026-35350
    MEDIUM

    uutils coreutils doesn't properly handle setuid and setgid bits when ownership preservation fails

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock