CVE-2026-35359
MEDIUMuutils coreutils cp Information Disclosure via Time-of-Check to Time-of-Use Symlink Swap
Title source: cnaDescription
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.
References (1)
Core 1
Core References
Issue Tracking issue-tracking
https://github.com/uutils/coreutils/issues/10017
Scores
CVSS v3
4.7
EPSS
0.0010
EPSS Percentile
1.3%
Attack Vector
LOCAL
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
no
Technical Impact
partial
Details
CWE
CWE-367
CWE-59
Status
published
Products (3)
crates.io/coreutils
0crates.io
Uutils/coreutils
uutils/coreutils
Published
Apr 22, 2026
Tracked Since
Apr 22, 2026