CVE-2026-35355: uutils coreutils - Time-of-Check to Time-of-Use (TOCTOU) Race Condition
- Cve: CVE-2026-35355
- Name: uutils coreutils - Time-of-Check to Time-of-Use (TOCTOU) Race Condition
- 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.
- Impact: Local attackers can overwrite arbitrary system files, potentially leading to privilege escalation or system compromise.
- Remediation: Update to the latest version with the TOCTOU race condition fix.
- Vulnerability type: race_condition
- Vulnerability impact: privilege_escalation, data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.3
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
- Epss score: 0.00122
- Epss percentile: 0.01996
- Assignee: [email protected]
- Published at: 2026-04-22T17:16:37Z
- Age in days: 216
- Modified at: 2026-10-26T21:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-35355
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-367 | Time-of-check Time-of-use (TOCTOU) Race Condition |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/uutils/coreutils/pull/10067 | nvd | 2026-04-22 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/uutils/coreutils/pull/10067 | nvd | Exploit, Issue Tracking, Patch |
| https://github.com/uutils/coreutils/releases/tag/0.6.0 | nvd | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| uutils:coreutils | < 0.6.0 | no | nvd | /v1/products/uutils/coreutils |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| uutils/coreutils | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/uutils/coreutils |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-04-22
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts