CVE-2026-35359: Rust coreutils · A Time-of-Check to Time-of-Use (TOCTOU) vulnerability in the cp utility of uutils
Affects rust-coreutilsSource GCVE Database
Not known to be exploited · CVSS 4.7 Medium.
Data as of 10 Nov 2026, 06:17 UTC
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.04 LTSrust-coreutilspkg:deb/ubuntu/rust-coreutils?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10rust-coreutilspkg:deb/ubuntu/rust-coreutils?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSrust-coreutilspkg:deb/ubuntu/rust-coreutils?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid running the vulnerable cp utility with elevated privileges on untrusted input paths or ensure that concurrent write access to source paths is prevented.
Description
A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the cp utility of rust-coreutils. The vulnerability allows an attacker with concurrent write access to swap a regular file for a symbolic link between the check and use operations, bypassing the intended no-dereference protection. This can cause a privileged cp process to copy contents of arbitrary sensitive files to an attacker-controlled destination.