Skip to content
OpenAdvisories
Medium · 6.3 CVE-2026-35364 EUVD-2026-25010GHSA-m976-87wm-48fm

uutils coreutils mv Arbitrary File Overwrite via Cross-Device TOCTOU Race Condition

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

Description

A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mv utility of uutils coreutils during cross-device operations. The utility removes the destination path before recreating it through a copy operation. A local attacker with write access to the destination directory can exploit this window to replace the destination with a symbolic link. The subsequent privileged move operation will follow the symlink, allowing the attacker to redirect the write and overwrite an arbitrary target file with contents from the source.

Affected products

VendorProductAffectedFixed
Uutils coreutils — —

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.9.0-1 —
Debian 13 rust-coreutils No fix yet —
Debian 12 rust-coreutils No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS rust-coreutils 0.10.0-1ubuntu2~26.04.1 USN-9041-1
Ubuntu 25.10 rust-coreutils No fix yet —
Ubuntu 24.04 LTS rust-coreutils No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling uutils 0.8.0-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io coreutils <= 0.8.0 — GHSA-m976-87wm-48fm

Advisories 1

References