Skip to main content

uutils coreutils CVE-2026-35372

| EUVDEUVD-2026-25020 MEDIUM
UNIX Symbolic Link (Symlink) Following (CWE-61)
2026-04-22 canonical GHSA-wq63-vh5h-pr5p
5.0
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Attacker gains local access
  2. Delivery
    Places symlink in target directory
  3. Exploit
    Waits for privileged ln -n invocation
  4. Execution
    ln dereferences symlink unexpectedly
  5. Persist
    Creates file in unintended sensitive directory
  6. Impact
    Corrupts system config or escalates privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling UNIX symlink resolution
Exploitation Conditions

Exploitation requires that: (1) the vulnerable version of uutils coreutils (< 0.8.0) is installed and actively used; (2) a user or system process invokes the ln command with the -n (--no-dereference) flag WITHOUT the -f (--force) flag; (3) the attacker can create or modify symbolic links in directories that are referenced as arguments to ln; (4) those symlinks must point to directories where the attacker can influence file creation outcomes; (5) the user running ln must have sufficient privileges to create files in the target directory. Additionally, the ln command must not have been patched or replaced with a wrapper. The UI:R component of the CVSS vector indicates user interaction is required - this is not an unauthenticated remote exploit. Configurations that limit local user access to the ln utility, run ln exclusively with the -f flag, or use alternative tools (like install -d) instead of ln reduce or eliminate risk.

Impact

The CVSS vector (AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N) correctly identifies this as a local privilege escalation vector requiring low complexity and user interaction (UI:R), with no confidentiality impact but high integrity impact. The SSVC framework (Exploitation: none, Automatable: no, Technical Impact: partial) suggests this is not currently actively exploited and cannot be fully automated, reducing real-world risk. However, the condition UI:R is critical: this requires a user to invoke the vulnerable command, typically a system administrator or privileged script. The realistic threat model is a local attacker who can pre-position malicious symlinks in locations where privileged processes run ln -n commands (e.g., package managers, system configuration scripts). The fact that this requires symlink manipulation and user interaction limits widespread automated exploitation, but in multi-user systems or containers with shared directories, the risk is moderate. The integrity impact is high because file creation in sensitive directories could compromise system configuration or escalate privileges if those directories are later read by higher-privilege processes.

Exploit ScenarioDerived

A system administrator runs a cron job that periodically executes ln -n /etc/config/app.conf /etc/app/symlink to update a symbolic link in a shared application directory. A local attacker (low-privilege user) pre-positions a malicious symbolic link at /etc/config/app.conf pointing to /etc/passwd or another sensitive directory. When the cron job runs, the vulnerable ln utility dereferences this symlink and creates new files inside /etc/passwd (if a directory exists) or /etc/, corrupting system configuration. Exploitation requires the attacker to have write access to directories where ln targets originate and knowledge of which ln -n commands are executed by privileged users.

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 ln utility in uutils coreutils fails to honor the --no-dereference flag when the --force flag is not simultaneously enabled, allowing local attackers with low privileges to redirect symbolic link operations into unintended directories. An attacker can manipulate existing symlinks to cause a privileged user or system script running ln -n to create files in sensitive directories, leading to unauthorized file creation or system misconfiguration. CVSS score of 5.0 reflects local attack vector and low complexity; SSVC framework indicates non-automatable exploitation with partial technical impact.

RemediationAI

Upgrade uutils coreutils to version 0.8.0 or later, which includes the patch merged in PR #11253 (https://github.com/uutils/coreutils/pull/11253). The patched release is available at https://github.com/uutils/coreutils/releases/tag/0.8.0. For systems unable to upgrade immediately, the primary compensating control is to audit shell scripts and cron jobs that invoke ln with the -n flag and verify they are not operating on user-controlled or attacker-influenceable symlinks; consider restricting ln usage to elevated privileges only (e.g., sudo ln) and removing the utility from normal user PATH if not essential. An additional control is to use the more explicit ln -nf (force flag with no-dereference) in scripts to ensure both flags are set, though this changes semantics by overwriting existing targets; test before deployment. The trade-off is that removing ln functionality may break legitimate administrative workflows.

Affected VersionsENISA

coreutils 0 <0.8.0

Affected Packages

cargo coreutils fix: 0.8.0

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 ln utility is a core POSIX command used to create hard links and symbolic links. The --no-dereference (-n) flag is intended to prevent dereferencing of symbolic link targets, ensuring the link itself is the destination. The vulnerability exists in uutils coreutils, a Rust-based reimplementation of GNU coreutils utilities. The flaw is a logic error (CWE-61: Improper Link Resolution Before File Access) in the command-line argument processing where the no-dereference behavior was only applied when the --force (overwrite) flag was concurrently set. This means ln -n alone would still follow symlinks to directories, while ln -nf would correctly treat the symlink as a target. CPE cpe:2.3:a:uutils:coreutils identifies the affected product across all versions prior to 0.8.0.

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 5.0 MEDIUM
AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

Lifecycle Timeline

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

DescriptionCVE.org

A logic error in the ln utility of uutils coreutils allows the utility to dereference a symbolic link target even when the --no-dereference (or -n) flag is explicitly provided. The implementation previously only honored the "no-dereference" intent if the --force (overwrite) mode was also enabled. This flaw causes ln to follow a symbolic link that points to a directory and create new links inside that target directory instead of treating the symbolic link itself as the destination. In environments where a privileged user or system script uses ln -n to update a symlink, a local attacker could manipulate existing symbolic links to redirect file creation into sensitive directories, potentially leading to unauthorized file creation or system misconfiguration.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% 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

25
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +25
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.

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-35374 MEDIUM
6.3 Apr 22

The split utility in uutils coreutils contains a time-of-check to time-of-use (TOCTOU) race condition that allows local

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

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