CVE-2026-35359
uutils coreutils cp Information Disclosure via Time-of-Check to Time-of-Use Symlink Swap
- State
- Published
- Severity
- 4.7 Medium
- Published
- Apr 22, 2026
- Updated
- Apr 22, 2026
- Reserved
- Apr 2, 2026
Description
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability in the cp utility of uutils coreutils allows an attacker to bypass no-dereference intent. The utility checks if a source path is a symbolic link using path-based metadata but subsequently opens it without the O_NOFOLLOW flag. An attacker with concurrent write access can swap a regular file for a symbolic link during this window, causing a privileged cp process to copy the contents of arbitrary sensitive files into a destination controlled by the attacker.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 4.7 Medium | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N | canonical |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
coreutilsUutils |
References
- https://github.com/uutils/coreutils/issues/10017issue-tracking
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.