{"id":"CVE-2026-35360","revision":"576744194f1242a5ad9d631e3cf3b436","records":[{"revision":"576744194f1242a5ad9d631e3cf3b436","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-35360","aliases":[],"title":"uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition","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.","state":0,"publishedAt":"2026-04-22T16:08:28.218+00:00","modifiedAt":"2026-04-22T18:03:26.466+00:00","affected":[{"ecosystem":"https://github.com/uutils","name":"coreutils","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"Uutils\",\n                    \"product\": \"coreutils\",\n                    \"platforms\": [\n                        \"Linux\",\n                        \"Unix\",\n                        \"macOS\"\n                    ],\n                    \"collectionURL\": \"https://github.com/uutils\",\n                    \"packageName\": \"coreutils\",\n                    \"repo\": \"https://github.com/uutils/coreutils\",\n                    \"defaultStatus\": \"affected\"\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H","score":6.3,"severity":"MEDIUM"}],"references":["https://github.com/uutils/coreutils/issues/10019"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-35360","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-35360","identifiers":["CVE-2026-35360"]},"retained":false,"historicalAffected":[]}],"coverage":[]}