CVE-2026-35359
published medium CVSS 3.1 · 4.7uutils coreutils cp Information Disclosure via Time-of-Check to Time-of-Use Symlink Swap
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Uutils | — | coreutilsPlatforms: Linux, Unix, macOS | Affected | Not stated | canonical |
| Ubuntu | resolute | rust-coreutils | Advisory build | 0.10.0-1ubuntu2~26.04.1 | USN-9041-1 |
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 advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.7 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Uutils | coreutils | Default: affected | canonical · cna |
Weaknesses
2- CWE-367 CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition
- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
1Provider assertions
2canonical · cna
uutils coreutils cp Information Disclosure via Time-of-Check to Time-of-Use Symlink Swap
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fec5ed49d63436e677ee7a44cc1036b6c7f69d6a5afcabbb4c73b8c0e7ce2de0
- Ingested
- 23 Sep 2026, 09:11:31 UTC
- Source record
- Official CVE record