CVE-2026-35354
MEDIUM 4.7CVSS 3.1uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
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.
- Published
- 22 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Analyzed
- Weakness
- CWE-367
- Also known as
- GHSA-x4mc-mqm7-gg39
- Sources
- NVDJSONOSV GHSA-x4mc-mqm7-gg39JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@ubuntu.com (Secondary) | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | uutils | coreutilscpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:* |
(no version) | |
| OSV | crates.io | coreutils | <= 0.8.0 |
References
- https://github.com/uutils/coreutils/issues/10014 · Exploit, Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-35354 · ADVISORY
- https://github.com/uutils/coreutils · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 22 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Apr 2026)