Bug 2460799 (CVE-2026-35364)

Summary: CVE-2026-35364 rust-coreutils: uutils coreutils mv utility: Arbitrary File Overwrite via TOCTOU Race Condition
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: crizzo, gtanzill, jbuscemi, jmitchel, kaycoth, kshier, teagle
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in the mv utility of uutils coreutils. A local attacker with write access to a destination directory can exploit a Time-of-Check to Time-of-Use (TOCTOU) race condition during cross-device file operations. This allows the attacker to replace the intended destination with a symbolic link, redirecting the file write and overwriting an arbitrary target file with the source's contents.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2463763, 2463764    
Bug Blocks:    

Description OSIDB Bzimport 2026-04-22 17:03:20 UTC
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.