UBUNTU-CVE-2026-35354: Medium severity ubuntu/rust-coreutils vulnerability

Published Apr 22, 2026
·
Updated

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.

Affected Software

3 affected components
ubuntu/rust-coreutils*
ubuntu/rust-coreutils*
ubuntu/rust-coreutils*

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

What level of access is required to exploit this issue?

An attacker needs local access and write permission to the directory involved in the move operation. Exploitation also requires winning a race by swapping files while mv performs its xattr-preservation operations.

2

When is the vulnerable code path used?

The issue affects cross-device moves, where mv must preserve extended attributes while moving a file between filesystems or devices. The race arises because those xattr operations use separate path-based lookups.

3

What is the likely security impact if exploitation succeeds?

The destination file can receive an inconsistent combination of security-related extended attributes. Examples include SELinux labels and file capabilities, potentially affecting the destination file's integrity.

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