CVE-2026-35359: uutils coreutils cp Information Disclosure via Time-of-Check to Time-of-Use Symlink Swap
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 ONOFOLLOW 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 Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-35359?
CVE-2026-35359 is classified as a medium severity vulnerability due to the potential for information disclosure.
How do I fix CVE-2026-35359?
To mitigate CVE-2026-35359, ensure you are using the latest version of the uutils coreutils software, which addresses this vulnerability.
What kind of attack does CVE-2026-35359 enable?
CVE-2026-35359 allows attackers to exploit a Time-of-Check to Time-of-Use (TOCTOU) condition to bypass no-dereference intent.
What component of the uutils coreutils is affected by CVE-2026-35359?
CVE-2026-35359 specifically affects the 'cp' utility within the uutils coreutils package.
Can CVE-2026-35359 lead to arbitrary file access?
Yes, CVE-2026-35359 can potentially lead to arbitrary file access by manipulating symbolic links during the cp operation.