# CVE-2026-35364: uutils coreutils mv Arbitrary File Overwrite via Cross-Device TOCTOU Race Condition

- Severity: Medium 6.3 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`
- 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.09%, higher than 0% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-22T16:08:38.522Z
- Modified: 2026-10-26T22:10:00.163Z
- Also known as: GHSA-m976-87wm-48fm
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: canonical

## Description

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.

(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 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://github.com/uutils/coreutils/issues/10015> (exploit, issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35364> (advisory)
- <https://github.com/uutils/coreutils> (package)

## Sources

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

---

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