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

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 (173 days ago).
  • Last revised September 10, 2026 — 140 days after initial publication.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageEcosystemAffectedFixed In
coreutils
crates.io
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. 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

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-mh5c-xrmh-m794

Related CVEs

  • CVE-2026-93657
    HIGH

    hickory-resolver: Resolver::lookup() and Resolver::lookup_ip() APIs obscure DNSSEC validation failures

  • CVE-2026-18140
    HIGH

    aws-smithy-json: Uncontrolled recursion in the aws-smithy-json unknown-key skip path allows unauthenticated remote denial of service in smithy-rs generated servers

  • 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 if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies