UBUNTU-CVE-2026-35364: Race Condition

Published Apr 22, 2026
·
Updated

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

3 affected componentsFixes available
ubuntu/rust-coreutils*
ubuntu/rust-coreutils*
ubuntu/rust-coreutils<0.10.0-1ubuntu2~26.04.1
0.10.0-1ubuntu2~26.04.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ubuntu/rust-coreutils to a version that resolves this vulnerability.

    Fixed in 0.10.0-1ubuntu2~26.04.1

Event History

Apr 22, 2026
CVE Published
via OSV·05:16 PM
Data Sourced
via OSV·05:16 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Systems using the mv utility from Ubuntu's rust-coreutils package are exposed when a privileged cross-device move writes into a destination directory that an untrusted local user can modify.

2

What conditions are required for exploitation?

An attacker needs local access and write permission to the destination directory. They must win the race after mv removes the destination path and before it recreates it during the cross-device copy operation.

3

Can this be exploited through ordinary same-filesystem moves?

The described race occurs during cross-device operations, where mv removes the destination and recreates it through a copy operation. The provided information does not indicate that same-filesystem moves are affected.

4

What is the impact if exploitation succeeds?

The attacker can replace the destination path with a symbolic link and cause the privileged move operation to follow it. This can redirect the write and overwrite an arbitrary target file with the source file's contents.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203