Skip to main content

uutils coreutils EUVDEUVD-2026-25024

| CVE-2026-35374 MEDIUM
Time-of-check Time-of-use (TOCTOU) Race Condition (CWE-367)
2026-04-22 canonical GHSA-4wrp-79m8-9m9p
6.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain local shell access
  2. Delivery
    Monitor split execution or predict via cron
  3. Exploit
    Prepare symbolic link in target directory
  4. Execution
    Replace output path with symlink during TOCTOU window
  5. Persist
    split truncates symlink target
  6. Impact
    Data loss on sensitive file

Vulnerability Assessment

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

Attack requires: (1) local user account with shell access to the target system, (2) write permissions to the directory containing the split output file or control over intermediate path components, (3) ability to detect or predict when split will execute (via cron, manual invocation, monitoring), (4) precise timing to swap the output path with a symbolic link between the path validation check and the file open with truncation. Default installations do not inherently prevent this - it depends on local access controls. The vulnerability does NOT affect remote attackers or unauthenticated access. It is MITIGATED if the output directory is owned exclusively by the user running split and other local users cannot write to it.

Impact

CVSS 6.3 reflects local-only attack vector (AV:L), high attack complexity (AC:H - requires precise timing and directory write access), low privilege (PR:L - local user account), no confidentiality impact (C:N), high integrity and availability impact (I:H/A:H). SSVC assessment states exploitation as 'none' (no public weaponized exploits), automatable as 'no' (manual timing required to win race), technical impact as 'partial' (data loss is significant but scoped to files the attacker can already access). The contradiction between CVSS integrity/availability ratings (high) and SSVC technical impact (partial) reflects SSVC's narrower scope: SSVC only counts impacts beyond what the attacker can already do locally. Real-world risk is moderate - requires local access, precise timing, and knowledge of target paths, but data loss impact is severe for affected organizations. This is NOT a high-priority network-facing risk but represents real local privilege escalation in multi-user systems.

Exploit ScenarioDerived

A local user on a shared system runs split to process a file in /tmp. An attacker with write access to /tmp uses inotify or polling to detect the split process, then rapidly replaces the output file path with a symbolic link pointing to the user's SSH private key. The split process's TOCTOU window allows the truncation to follow the link, destroying the private key and causing service disruption or account compromise.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 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

The split utility in uutils coreutils contains a time-of-check to time-of-use (TOCTOU) race condition that allows local attackers with directory write access to manipulate symbolic links between the initial path validation and file truncation, causing data loss to unintended target files including the input file or other sensitive files. CVSS 6.3 (local, high complexity, low privilege required); SSVC assesses as non-exploitable in automated attacks but partial technical impact due to manual race window exploitation requirements.

RemediationAI

Vendor-released patch available via GitHub pull request https://github.com/uutils/coreutils/pull/11401. Update uutils coreutils to the patched version as soon as it is released. As immediate compensating control for multi-user systems where local attackers exist, disable split command execution for untrusted users via Unix access controls (chmod, sudo rules), or restrict write permissions to directories where split might be executed. This introduces usability trade-offs in shared systems. No functional workaround exists short of these access controls, as the root cause requires fixing the underlying TOCTOU logic to perform atomic validation-and-open operations or use file descriptor-based operations that prevent symbolic link traversal between checks.

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

The vulnerability stems from CWE-367 (improper restriction of rendered UI layers or frames), manifesting as a TOCTOU race condition in file path validation. The split utility first validates that input and output file paths differ using string comparison, then later opens the output file with truncation flags. This two-step process creates a window where a local attacker with write permissions to the target directory can swap a non-symbolic-link path with a symbolic link pointing to a sensitive file (input file, system configuration, user data). The path-based check passes because the symbolic link itself differs from the input path, but the subsequent open() call with O_TRUNC follows the link and truncates the link target. CPE indicates all versions of uutils coreutils are affected.

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

NVD PRIMARY 6.3 MEDIUM
AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

2
Patch released
Apr 22, 2026 - 16:31 nvd
Patch available
CVE Published
Apr 22, 2026 - 16:09 nvd
MEDIUM 6.3

DescriptionCVE.org

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the split utility of uutils coreutils. The program attempts to prevent data loss by checking for identity between input and output files using their file paths before initiating the split operation. However, the utility subsequently opens the output file with truncation after this path-based validation is complete. A local attacker with write access to the directory can exploit this race window by manipulating mutable path components (e.g., swapping a path with a symbolic link). This can cause split to truncate and write to an unintended target file, potentially including the input file itself or other sensitive files accessible to the process, leading to permanent data loss.

Threat Intelligence Overview

EPSS Score
0.0%
Top 98% exploitable
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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-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-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-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-35352 HIGH
7.0 Apr 22

Privilege escalation in uutils coreutils mkfifo utility allows local attackers with low privileges to manipulate file pe

CVE-2026-35349 MEDIUM
6.7 Apr 22

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

CVE-2026-35365 MEDIUM
6.6 Apr 22

The mv utility in uutils coreutils improperly expands symbolic links instead of preserving them during moves across file

CVE-2026-35350 MEDIUM
6.6 Apr 22

The cp utility in uutils coreutils improperly preserves setuid and setgid bits when the chown operation fails during fil

CVE-2026-35364 MEDIUM
6.3 Apr 22

A time-of-check to time-of-use (TOCTOU) race condition in the mv utility of uutils coreutils during cross-device move op

CVE-2026-35360 MEDIUM
6.3 Apr 22

The touch utility in uutils coreutils suffers from a Time-of-Check to Time-of-Use (TOCTOU) race condition that allows lo

CVE-2026-35356 MEDIUM
6.3 Apr 22

Privilege escalation via symlink attack in uutils coreutils install utility when using the -D flag allows local attacker

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