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.
Affected products
uutils: coreutils
References2
- github.com/uutils/coreutils/issues/10017 ExploitIssue TrackingVendor Advisory
- github.com/uutils/coreutils/issues/10017 ExploitIssue TrackingVendor Advisory
Metrics
- CVSS 3.1
-
4.7
MEDIUM
Score source: CNA
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N - EPSS — exploit probability
- 0% percentile: 2 · as of 13 November 2026
- CWE
- CWE-59CWE-367
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.