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 package | Versions | Reported by |
|---|---|---|
| coreutils | Not specified | CVE List |
| coreutils (crates.io) | up to 0.8.0 | GitHub Advisory Database |
| uutils coreutils | Not specified | NVD |
All scores
| canonical | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-35352 changed 2026-05-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-9gh9-hwpr-rvqq changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-35352 changed 2026-10-26 | Public domain |