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.

Related CPE's


References


https://github.com/uutils/coreutils/issues/10017

ExploitIssue TrackingVendor Advisory

https://github.com/uutils/coreutils/issues/10017

ExploitIssue TrackingVendor Advisory

Weaknesses



CWE-59CWE-367

CVSS impact metrics


CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

4.7 · Medium

Information


Source identifier

[email protected]

Vulnerability status

Analyzed

Published

2026-04-22T17:16:38.537Z

5 months ago

Last modified

2026-06-17T10:40:27.437Z

3 months ago