CVE-2026-35355
uutils coreutils install Arbitrary File Overwrite via Symlink TOCTOU Race
- State
- Published
- Severity
- 6.3 Medium
- Published
- Apr 22, 2026
- Updated
- Apr 22, 2026
- Reserved
- Apr 2, 2026
Description
The install utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file installation. The implementation unlinks an existing destination file and then recreates it using a path-based operation without the O_EXCL flag. A local attacker can exploit the window between the unlink and the subsequent creation to swap the path with a symbolic link, allowing them to redirect privileged writes to overwrite arbitrary system files.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.3 Medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H | canonical |
Weaknesses
- CWE-367 Time-of-Check Time-of-Use (TOCTOU) Race Condition
Affected Products
| Product | Versions |
|---|---|
coreutilsUutils |
|
References
- https://github.com/uutils/coreutils/pull/10067issue-trackingpatch
- https://github.com/uutils/coreutils/releases/tag/0.6.0vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.