CVE-2026-35359CWE-367CWE-59

uutils coreutils cp Information Disclosure via Time-of-Check to Time-of-Use Symlink Swap

Medium · published April 22, 2026

CVSS v3.1
4.7
EPSS
0%
Percentile
1.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
4.7 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00106 · 1.1th percentile
Weaknesses
CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition; CWE-59 · Improper Link Resolution Before File Access ('Link Following')
Published
2026-04-22T16:08Z
EPSS history
Timeline
  • 22 APR 16:08Z
    uutils coreutils cp Information Disclosure via Time-of-Check to Time-of-Use Symlink Swap
    cvelistv5