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.
References
Link Resource
https://github.com/uutils/coreutils/issues/10019 Exploit Issue Tracking Vendor Advisory
https://github.com/uutils/coreutils/issues/10019 Exploit Issue Tracking Vendor Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:uutils:coreutils:-:*:*:*:*:rust:*:*

History

26 Oct 2026, 21:10

Type Values Removed Values Added
Summary
  • (es) 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.

Information

Published : 2026-04-22 17:16

Updated : 2026-10-26 21:10


NVD link : CVE-2026-35360

Mitre link : CVE-2026-35360

CVE.ORG link : CVE-2026-35360


JSON object : View

Products Affected

uutils

  • coreutils
CWE
CWE-367

Time-of-check Time-of-use (TOCTOU) Race Condition