CVE-2026-35354: uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition

CVE-2026-35354 · Severity: medium · CVSS 4.7 · Published 2026-04-22

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.

Technologies: coreutils (crates.io), Uutils Coreutils. Vendors: crates.io, Uutils.

Quick answers

Is CVE-2026-35354 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-35354 being exploited in the wild.
How severe is CVE-2026-35354?
Medium severity, with a CVSS score of 4.7, published 22 April 2026.
Which products and versions are affected?
coreutils (crates.io) SEMVER:introduced=0,last_affected=0.8.0.
Is there a fix for CVE-2026-35354?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2026-35354?
Check whether you run coreutils (crates.io) or Uutils Coreutils at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • coreutils (crates.io) SEMVER:introduced=0,last_affected=0.8.0
  • Uutils Coreutils

Identifiers

  • CVE-2026-35354
  • GHSA-x4mc-mqm7-gg39

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.