{"id":"CVE-2026-35360","aliases":["CVE-2026-35360","GHSA-q6m9-xj2w-xmrc"],"related":[],"kind":"vulnerability","state":"published","title":"uutils coreutils touch Arbitrary File Truncation via TOCTOU Race Condition","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La utilidad touch en uutils coreutils es vulnerable a una condición de carrera Time-of-Check to Time-of-Use (TOCTOU) durante la creación de archivos. Cuando la utilidad identifica una ruta faltante, más tarde intenta la creación usando File::create(), que utiliza internamente O_TRUNC. Un atacante puede explotar esta ventana para crear un archivo o intercambiar un enlace simbólico en la ruta de destino, haciendo que touch trunque un archivo existente y lo que lleva a la pérdida permanente de datos.","source":"nvd"}],"published":"2026-04-22T16:08:28.218Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"canonical","scheme":"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,"rating":"MEDIUM"},"severities":[{"scorer":"canonical","scheme":"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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"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,"rating":"MEDIUM"}],"cwes":["CWE-367"],"affected":[{"ranges":[],"vendor":"Uutils","product":"coreutils","package":"coreutils","repo":"https://github.com/uutils/coreutils","platforms":["Linux","Unix","macOS"],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.8.0"}],"ecosystem":"crates.io","package":"coreutils","purl":"pkg:cargo/coreutils","source":"ghsa"},{"ranges":[],"vendor":"uutils","product":"coreutils","cpe":"cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*","source":"nvd"}],"references":[{"url":"https://github.com/uutils/coreutils/issues/10019","tags":["exploit","issue-tracking","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35360","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/uutils/coreutils","tags":["package"],"sources":["ghsa"]}],"credits":["Zellic"],"assigner":"canonical","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-04-22T18:03:23.474Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-35360","url":"https://www.cve.org/CVERecord?id=CVE-2026-35360","licence":"CVE Terms of Use","modified":"2026-04-22T18:03:26.466Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q6m9-xj2w-xmrc","url":"https://github.com/advisories/GHSA-q6m9-xj2w-xmrc","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:02.777Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-35360","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-35360","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"}],"updatedAt":"2026-11-25T22:59:19.331Z","epss":{"score":0.00108,"percentile":0.0131,"date":"2026-12-01T12:00:22.000Z"}}