CVE Vulnerabilities

CVE-2026-35354

Time-of-check Time-of-use (TOCTOU) Race Condition

Published: Apr 22, 2026 | Modified: Apr 24, 2026
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the mv utility of uutils coreutils during cross-device moves. The extended attribute (xattr) preservation logic uses multiple path-based system calls that perform fresh path-to-inode lookups for each operation. A local attacker with write access to the directory can exploit this race to swap files between calls, causing the destination file to receive an inconsistent mix of security xattrs, such as SELinux labels or file capabilities.

Weakness

The product checks the state of a resource before using that resource, but the resource’s state can change between the check and the use in a way that invalidates the results of the check.

Affected Software

NameVendorStart VersionEnd Version
CoreutilsUutils- (including)- (including)
Rust-coreutilsUbuntudevel*
Rust-coreutilsUbuntuesm-apps/noble*
Rust-coreutilsUbuntunoble*
Rust-coreutilsUbuntuquesting*
Rust-coreutilsUbunturesolute*
Rust-coreutilsUbuntuupstream*

Potential Mitigations

References