cve.bz

CVE-2026-35368 uutils coreutils: Untrusted Search Path

7.8 highExploit referenceEPSS 0.1%

High (7.8) in uutils coreutils. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: total, assessed 2026-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-426 Untrusted Search Path
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-35368 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-35368?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-35368?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-35368 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-mh5c-xrmh-m794crates.iocoreutils<=0.8.0no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13rust-coreutilsno fix listedDEBIAN-CVE-2026-35368
Debian14rust-coreutils0.9.0-1DEBIAN-CVE-2026-35368
Ubuntu24.04:LTS, 25.10rust-coreutilsno fix listedUBUNTU-CVE-2026-35368
Ubuntu26.04:LTSrust-coreutils0.10.0-1ubuntu2~26.04.1UBUNTU-CVE-2026-35368 USN-9041-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has evaluated this vulnerability as having an Important impact because successful exploitation allows a local attacker to break container boundaries or gain elevated root privileges. Standard Red Hat Enterprise Linux releases ship GNU coreutils rather than the Rust implementation, limiting exposure primarily to environments explicitly utilizing the rust-coreutils package. Triggering this flaw requires a privileged user or service to invoke chroot with user specifications on an untrusted target directory where arbitrary files can be placed.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-35368.

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON