{"id":"GHSA-q6m9-xj2w-xmrc","summary":"uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition","details":"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.","aliases":["CVE-2026-35360"],"modified":"2026-09-10T03:51:02.777490427Z","published":"2026-04-22T18:31:45Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-04-30T17:30:18Z","nvd_published_at":"2026-04-22T17:16:38Z","cwe_ids":["CWE-367"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35360"},{"type":"WEB","url":"https://github.com/uutils/coreutils/issues/10019"},{"type":"PACKAGE","url":"https://github.com/uutils/coreutils"}],"affected":[{"package":{"name":"coreutils","ecosystem":"crates.io","purl":"pkg:cargo/coreutils"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.8.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-q6m9-xj2w-xmrc/GHSA-q6m9-xj2w-xmrc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H"}]}