CVE Explorer
CVE-2026-35360
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://github.com/uutils","defaultStatus":"affected","packageName":"coreutils","platforms":["Linux","Unix","macOS"],"product":"coreutils","repo":"https://github.com/uutils/coreutils","vendor":"Uutils"}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5b532611549e15160efbd6c000c9bb3424ba779dffbab294f57b198aca3d30c2 · sha256:200d45f34dd3df67… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5b532611549e15160efbd6c000c9bb3424ba779dffbab294f57b198aca3d30c2 · sha256:200d45f34dd3df67… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-367","description":"CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5b532611549e15160efbd6c000c9bb3424ba779dffbab294f57b198aca3d30c2 · sha256:200d45f34dd3df67… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["issue-tracking"],"url":"https://github.com/uutils/coreutils/issues/10019"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5b532611549e15160efbd6c000c9bb3424ba779dffbab294f57b198aca3d30c2 · sha256:200d45f34dd3df67… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/uutils/coreutils/issues/10019"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5b532611549e15160efbd6c000c9bb3424ba779dffbab294f57b198aca3d30c2 · sha256:200d45f34dd3df67… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.