Skip to main content

uutils coreutils EUVDEUVD-2026-24986

| CVE-2026-35352 HIGH
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-04-22 canonical GHSA-9gh9-hwpr-rvqq
7.0
CVSS 3.1 · Vendor: canonical
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local low-privilege access
  2. Delivery
    Monitor target directory for FIFO creation
  3. Exploit
    Win TOCTOU race: unlink FIFO and create symlink to privileged file
  4. Execution
    Chmod follows symlink, exposing target file
  5. Persist
    Modify exposed file for privilege escalation
  6. Impact
    Execute arbitrary code as root

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture TOCTOU prevention
Exploitation Conditions

Exploitation requires mkfifo utility executed with elevated privileges (root or SUID context) on filesystem paths where the attacker has write access to the parent directory. Attacker must possess low-privilege local user account (PR:L) and ability to monitor filesystem events or repeatedly attempt race condition timing. Target directory must allow the attacker to perform unlink and symlink operations between FIFO creation and chmod execution - typically /tmp, /var/tmp, or user-writable shared directories. High attack complexity (AC:H) stems from TOCTOU race timing: attacker must detect FIFO creation and perform symlink swap within microseconds-to-milliseconds window before chmod executes. Exploitation limited to systems using uutils coreutils implementation rather than GNU coreutils. No user interaction required (UI:N). Most impactful when automated privileged processes invoke mkfifo on predictable paths in attacker-writable locations; minimal impact when users run mkfifo only within their own private directories with their own privilege level.

Impact

Real-world risk is moderate to high depending on deployment context. CVSS 7.0 (AV:L/AC:H/PR:L) indicates local-only exploitation with high attack complexity due to race condition timing requirements. SSVC assessment confirms proof-of-concept availability and total technical impact (privilege escalation to full system control), but marks exploitation as not automatable due to timing dependencies. The attack requires: (1) local user access with write permissions to the directory where mkfifo is invoked, (2) ability to win a race condition, and (3) the utility running with elevated privileges for meaningful impact. Risk is elevated in scenarios where system scripts or privileged processes invoke mkfifo on user-writable paths (temp directories, user home directories). Conversely, risk is minimal if mkfifo is only used by unprivileged users in their own contexts. Not listed in CISA KEV, suggesting no widespread active exploitation. The high attack complexity (AC:H) and requirement for precise timing make this difficult to exploit reliably in practice, though proof-of-concept existence lowers the barrier. Primary risk is to systems using uutils coreutils in privileged automation rather than individual user contexts.

Exploit ScenarioDerived

A local attacker with low-privilege shell access identifies an automated system maintenance script running as root that uses uutils mkfifo to create a FIFO in /tmp for inter-process communication. The attacker writes a monitoring program that watches /tmp for new FIFO creation using inotify. When the script creates /tmp/process.fifo, the attacker's program immediately unlinks it and creates a symbolic link at /tmp/process.fifo pointing to /etc/shadow. The script's subsequent chmod 0666 /tmp/process.fifo follows the symlink, making /etc/shadow world-writable. The attacker then modifies /etc/shadow to add a passwordless root account or crack existing password hashes offline, achieving full system compromise. Success depends on winning the race between FIFO creation and chmod execution, typically requiring multiple attempts or system load conditions that widen the timing window. Proof-of-concept code exists per SSVC data, lowering technical barriers for skilled attackers.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 23, 2026

Privilege escalation in uutils coreutils mkfifo utility allows local attackers with low privileges to manipulate file permissions on arbitrary system files. A TOCTOU race condition between FIFO creation and permission setting enables symlink swapping attacks, redirecting chmod operations to unintended targets. SSVC framework indicates proof-of-concept exists with total technical impact. While CVSS rates this 7.0 (High), exploitation requires high attack complexity (race condition timing), low privileges, and write access to the parent directory where mkfifo is executed - most impactful when the utility runs with elevated privileges in automated scripts or system processes. No active exploitation confirmed (not in CISA KEV); EPSS data not available.

RemediationAI

Upstream fix available through GitHub issue tracking (https://github.com/uutils/coreutils/issues/10020), but released patched version number not independently confirmed from available data - monitor the GitHub repository for tagged release incorporating the fix. Once released, upgrade uutils coreutils to the patched version immediately if deployed in privileged contexts. Interim compensating controls: (1) Avoid running mkfifo with elevated privileges in automated scripts; if necessary, use unprivileged processes and employ capability-based security to limit damage scope. (2) Ensure mkfifo operations occur only in directories with restricted write permissions (not world-writable or user-writable temp directories); use private temporary directories with mode 0700 owned by the executing process. (3) If feasible, switch to GNU coreutils mkfifo implementation which may use file descriptor-based chmod (fchmod) avoiding the TOCTOU condition, though verify your distribution's implementation. (4) Implement filesystem monitoring (inotify/fanotify) to detect rapid unlink/create sequences in critical directories where mkfifo executes, though this adds performance overhead. Note that restricting directory permissions is the most practical mitigation but may break existing workflows where users legitimately need to create FIFOs in shared spaces.

Affected Packages

cargo coreutils no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in cargo

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability affects the mkfifo utility in uutils coreutils, a cross-platform Rust reimplementation of GNU coreutils. The flaw is a classic Time-of-Check to Time-of-Use (TOCTOU) race condition (CWE-367), where a non-atomic sequence of file operations creates an exploitable window. The vulnerable code path performs: (1) FIFO creation at a specified path, then (2) a separate path-based chmod syscall to set permissions. Between these operations, the filesystem entry can be replaced. When an attacker with write access to the parent directory detects the FIFO creation, they can atomically unlink it and create a symbolic link with the same name pointing to a privileged file (e.g., /etc/passwd, /etc/shadow, or SUID binaries). The subsequent chmod then follows the symlink, inadvertently modifying permissions on the attacker-controlled target. This is particularly dangerous in environments where mkfifo runs as root or within privileged automation contexts.

Know when Coreutils gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (canonical) PRIMARY 7.0 HIGH
AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Primary rating from Vendor (canonical) · only source for this CVE.

CVSS VectorVendor: canonical

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

DescriptionCVE.org

A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility creates a FIFO and then performs a path-based chmod to set permissions. A local attacker with write access to the parent directory can swap the newly created FIFO for a symbolic link between these two operations. This redirects the chmod call to an arbitrary file, potentially enabling privilege escalation if the utility is run with elevated privileges.

Executive ViewAI

Why It Matters

CVE-2026-35352 is a privilege escalation vulnerability in uutils coreutils mkfifo that allows local attackers to manipulate file permissions on arbitrary system files through a race condition exploit. Organizations using uutils coreutils in automated scripts or system processes risk unauthorized permission changes to critical files, potentially compromising system integrity and access controls. The threat is elevated in environments where mkfifo runs with elevated privileges or in shared multi-user systems.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Remove write permissions on parent directories where mkfifo executes where operationally feasible; (2) Restrict mkfifo to non-root execution contexts and eliminate elevated privilege runs; (3) Replace uutils coreutils with GNU coreutils if compatible with deployment; (4) Audit and remove unnecessary mkfifo invocations from automated processes and scripts; (5) Monitor file permission changes on critical system files via HIDS or filesystem auditing.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

35
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +35
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Affected Products (CPE)CVE.org

cpe:2.3:a:uutils:coreutils:*:*:*:*:*:*:*:*
CVE-2014-9471 HIGH POC
7.5 Jan 16

The parse_datetime function in GNU coreutils allows remote attackers to cause a denial of service (crash) or possibly ex

CVE-2026-35338 HIGH POC
7.3 Apr 22

Recursive chmod operations can bypass --preserve-root protection in uutils coreutils versions prior to 0.6.0, allowing l

CVE-2026-35341 HIGH POC
7.1 Apr 22

Local privilege escalation in uutils coreutils mkfifo allows authenticated users to downgrade permissions on arbitrary f

CVE-2026-35373 MEDIUM POC
5.5 Apr 22

The ln utility in uutils coreutils fails to process source paths containing non-UTF-8 filename bytes when using target-d

CVE-2026-35339 MEDIUM POC
5.5 Apr 22

The chmod utility in uutils coreutils versions prior to 0.6.0 incorrectly reports success (exit code 0) when recursively

CVE-2026-35361 MEDIUM POC
4.4 Apr 22

The mknod utility in uutils coreutils creates device nodes before atomically applying SELinux security labels, and fails

CVE-2026-35366 MEDIUM POC
4.4 Apr 22

The printenv utility in uutils coreutils versions before 0.6.0 silently omits environment variables containing invalid U

CVE-2026-35368 HIGH
7.8 Apr 22

Privilege escalation to root in uutils coreutils chroot utility allows low-privileged local attackers with write access

CVE-2026-35349 HIGH
7.7 Apr 22

Bypass of --preserve-root protection in uutils coreutils rm utility allows local users to recursively delete the root fi

CVE-2026-93658 HIGH
7.3 Sep 18

Local privilege escalation in uutils coreutils before 0.10.0: the `install` utility applies a requested setuid/setgid mo

CVE-2026-35381 LOW POC
3.3 Apr 22

Logic error in uutils coreutils cut utility causes incorrect behavior when combining the -s (only-delimited), -z (null-t

CVE-2026-35371 LOW POC
3.3 Apr 22

The id utility in uutils coreutils displays incorrect effective user information in its pretty-print output when real an

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy