CVE-2026-35352
JSON

7.0high

uutils coreutils mkfifo Privilege Escalation via TOCTOU Race Condition

Severity
7.0high CVSS:3.1 by canonical
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
canonical
Also known as
GHSA-9gh9-hwpr-rvqq

Description

A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility creates a FIFO and then performs a path-based chmod to set permissions. A local attacker with write access to the parent directory can swap the newly created FIFO for a symbolic link between these two operations. This redirects the chmod call to an arbitrary file, potentially enabling privilege escalation if the utility is run with elevated privileges.

Affected

Product or packageVersionsReported by
coreutilsNot specifiedCVE List
coreutils (crates.io)up to 0.8.0GitHub Advisory Database
uutils coreutilsNot specifiedNVD

All scores

canonical7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
GitHub7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-367

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

A Time-of-Check to Time-of-Use (TOCTOU) race condition exists in the mkfifo utility of uutils coreutils. The utility creates a FIFO and then performs a path-based chmod to set permissions. A local attacker with write access to the parent directory can swap the newly created FIFO for a symbolic link between these two operations. This redirects the chmod call to an arbitrary file, potentially enabling privilege escalation if the utility is run with elevated privileges.

NVD (es)

Una condición de carrera de tipo Time-of-Check to Time-of-Use (TOCTOU) existe en la utilidad mkfifo de uutils coreutils. La utilidad crea un FIFO y luego realiza un chmod basado en ruta para establecer permisos. Un atacante local con acceso de escritura al directorio padre puede intercambiar el FIFO recién creado por un enlace simbólico entre estas dos operaciones. Esto redirige la llamada a chmod a un archivo arbitrario, lo que podría permitir la escalada de privilegios si la utilidad se ejecuta con privilegios elevados.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-35352 changed 2026-05-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-9gh9-hwpr-rvqq changed 2026-09-10CC-BY-4.0
NVDCVE-2026-35352 changed 2026-10-26Public domain