Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-35355 EUVD-2026-24992GHSA-239g-2685-54x3GHSA-v24v-f45g-w7jf

uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race

Published Apr 22, 2026 · Updated Apr 22, 2026 · Assigned by canonical

Description

The install utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file installation. The implementation unlinks an existing destination file and then recreates it using a path-based operation without the O_EXCL flag. A local attacker can exploit the window between the unlink and the subsequent creation to swap the path with a symbolic link, allowing them to redirect privileged writes to overwrite arbitrary system files.

Affected products

VendorProductAffectedFixed
Uutils coreutils < 0.6.0 0.6.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rust-coreutils 0.6.0-1 —
Debian 13 rust-coreutils No fix yet —
Debian 12 rust-coreutils No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 25.10 rust-coreutils No fix yet —
Ubuntu 24.04 LTS rust-coreutils No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io uu_install < 0.6.0 0.6.0 GHSA-239g-2685-54x3

References