CVE-2026-35364: uutils coreutils mv Arbitrary File Overwrite via Cross-Device TOCTOU Race Condition
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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-35364?
CVE-2026-35364 has a medium severity due to the potential for arbitrary file overwrites.
How do I fix CVE-2026-35364?
To fix CVE-2026-35364, ensure that you update to the latest version of uutils coreutils where the issue has been patched.
What causes CVE-2026-35364?
CVE-2026-35364 is caused by a time-of-check to time-of-use (TOCTOU) race condition when using the mv command during cross-device operations.
Which versions of uutils coreutils are affected by CVE-2026-35364?
CVE-2026-35364 affects all versions of uutils coreutils prior to the patch that addresses this race condition.
What impact does CVE-2026-35364 have on system security?
The impact of CVE-2026-35364 on system security includes the possibility for unauthorized file overwrites, leading to potential data loss or corruption.