Skip to main content

CVE-2026-35356 — install -D: symlink race in uu_install — CVE Details

MEDIUM

install -D: symlink race in directory creation allows arbitrary file overwrite

Published July 6, 2026Updated July 6, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.12%). Schedule for your next planned update.

Does your project use an affected uu_install version?

Paste your Cargo.lock to check it for CVE-2026-35356 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my Cargo.lock

Summary

The -D path runs fs::create_dir_all on a pathname then later opens the destination via path-based File::create/fs::copy, neither anchored to a directory fd. Between the two, an attacker can replace a path component with a symlink, redirecting the write.

Impact: an attacker with concurrent write access to the destination tree can redirect a privileged install -D to an arbitrary location, enabling arbitrary file overwrite with attacker-controlled content. Recommendation: use dirfd-based traversal (openat/mkdirat + O_NOFOLLOW) per component and create the destination via openat on the same dirfd.

Remediation: Acknowledged by Canonical; fixed in commit 0c412999.


Reported by Zellic in the uutils coreutils Program Security Assessment (prepared for Canonical, Jan 20 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242. Finding 3.51. Credit: Zellic.

Advisory Timeline

  • First published July 6, 2026 (143 days ago).
  • Last revised July 6, 2026 — 0 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Cargo
Update uu_install to 0.7.0 or later
cargo update -p uu_install --precise 0.7.0

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: crates.io (1).

PackageFixed In
uu_install crates.io · Affected: All versions0.7.0

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.3 score means for each attack dimension.

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

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

Frequently Asked Questions

What is CVE-2026-35356?
install -D: symlink race in directory creation allows arbitrary file overwrite. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.3/10).
How do I check if my project is affected by CVE-2026-35356?
CVE-2026-35356 affects uu_install. It has a 0.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-35356 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.3

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.12%
EPSS percentile: 0.7

This is a below-median EPSS score — only 0.7% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-gwm6-q8ch-hcfr

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my Cargo.lock