All reports
Medium

uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

Affected versions

Rust / Cargocoreutils
Affected versions
<= 0.8.0
Fixed version
Not reported

Exploitation

CVE-2026-35357

Probability of exploitation in the next 30 days: 0.09%

FIRST EPSS · 2026-11-19

Description

The cp utility in uutils coreutils is vulnerable to an information disclosure race condition. Destination files are initially created with umask-derived permissions (e.g., 0644) before being restricted to their final mode (e.g., 0600) later in the process. A local attacker can race to open the file during this window; once obtained, the file descriptor remains valid and readable even after the permissions are tightened, exposing sensitive or private file contents.

Links