uutils/coreutils · Security
uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition
- GHSA ID
- GHSA-9gh9-hwpr-rvqq
- CVE ID
- CVE-2026-35352
- Severity
- high
- Published
- Updated
- CVSS
- 7 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 7 · CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
CWEs
- CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-35352 ↗
- https://github.com/uutils/coreutils/issues/10020 ↗
- http://www.openwall.com/lists/oss-security/2026/05/04/4 ↗
- http://www.openwall.com/lists/oss-security/2026/05/04/5 ↗
- http://www.openwall.com/lists/oss-security/2026/05/04/6 ↗
- https://github.com/advisories/GHSA-9gh9-hwpr-rvqq ↗