CVE Catalog

CVE-2026-35359

MediumCVSS 4.7
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

2th percentile - higher than 2% of all known CVEs

Summary

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.

Risk Assessment

A privileged cp process may be forced to copy sensitive files to an attacker-controlled location, leading to information disclosure. The risk applies where an attacker has concurrent write access to the source directory.

Recommendation

Update uutils coreutils to a version containing the fix. Until then, avoid running privileged cp on directories writable by untrusted users.

Other vulnerabilities in uutils coreutils

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS