# CVE-2026-35360: uutils coreutils touch Arbitrary File Truncation via 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.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:28.218Z
- Modified: 2026-10-26T21:10:00.170Z
- Also known as: GHSA-q6m9-xj2w-xmrc
- Weaknesses: CWE-367
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: canonical

## Description

The touch utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file creation. When the utility identifies a missing path, it later attempts creation using File::create(), which internally uses O_TRUNC. An attacker can exploit this window to create a file or swap a symlink at the target path, causing touch to truncate an existing file and leading to permanent data loss.

(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/10019> (exploit, issue-tracking, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35360> (advisory)
- <https://github.com/uutils/coreutils> (package)

## Sources

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

---

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