CVE-2026-35356: uutils coreutils install Arbitrary File Overwrite with -D via Path Component Symlink Race

Published Apr 22, 2026
·
Updated

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the install utility of uutils coreutils when using the -D flag. The command creates parent directories and subsequently performs a second path resolution to create the target file, neither of which is anchored to a directory file descriptor. An attacker with concurrent write access can replace a path component with a symbolic link between these operations, redirecting the privileged write to an arbitrary file system location.

Other sources

The -D path runs fs::createdirall 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 + ONOFOLLOW) 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.

GitHub

Affected Software

3 affected componentsFixes available
uutils uutils coreutils
uutils Coreutils Rust<0.7.0
rust/uu_install<0.7.0
0.7.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade rust/uu_install to a version that resolves this vulnerability.

    Fixed in 0.7.0
  2. Upgrade

    Upgrade uutils coreutils install (install utility) to a version that resolves this vulnerability.

    Patch 0c412999

Event History

Apr 22, 2026
CVE Published
via MITRE·04:08 PM
Data Sourced
via MITRE·04:08 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 6, 2026
Advisory Published
via GitHub·07:54 PM
Data Sourced
via GitHub·07:54 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-35356?

CVE-2026-35356 is classified as a medium severity vulnerability due to its potential for arbitrary file overwrite.

2

How do I fix CVE-2026-35356?

To fix CVE-2026-35356, update to the latest version of uutils coreutils where the vulnerability has been addressed.

3

What is the impact of CVE-2026-35356?

The impact of CVE-2026-35356 includes the risk of unauthorized file modification or replacement due to a symlink race condition.

4

Which versions of uutils coreutils are affected by CVE-2026-35356?

CVE-2026-35356 affects uutils coreutils prior to the patched version released in 0.7.0.

5

What causes CVE-2026-35356?

CVE-2026-35356 is caused by a time-of-check to time-of-use (TOCTOU) vulnerability in the install utility when using the -D flag.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203