# CVE-2026-35354: uutils coreutils mv Security Xattr TOCTOU Race in Cross-Device

- Severity: Medium 4.7 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-22T16:08:12.301Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-x4mc-mqm7-gg39
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: canonical

## Description

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.

(As written by CVE List.)

## Affected

- coreutils: no versions given
- coreutils (crates.io): up to 0.8.0
- uutils coreutils: no versions given

## Every score

- canonical: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 4.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N`

## 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)

## Sources

- CVE List: [CVE-2026-35354](https://www.cve.org/CVERecord?id=CVE-2026-35354), CVE Terms of Use, modified 2026-04-22
- GitHub Advisory Database: [GHSA-x4mc-mqm7-gg39](https://github.com/advisories/GHSA-x4mc-mqm7-gg39), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-35354](https://nvd.nist.gov/vuln/detail/CVE-2026-35354), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-35354 · Whole record: https://cve.day/CVE-2026-35354.json · Rebuilt by cve.day 2026-11-25T22:59:19.329Z
