NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Rust (crates.io)

CVE-2026-35357: uutils coreutils has a Time-of-check Time-of-use (TOCTOU) Race Condition

mediumCVSS 3.1 4.7GHSA-2m8x-mvfx-gwgj

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;

Published Apr 22, 2026 · Updated Apr 30, 2026

Affected packages

coreutils

Ecosystem
Rust (crates.io)
Affected
<= 0.8.0
Fixed in
No patched version yet
Check
cargo tree -i coreutils

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Rust (crates.io) vulnerabilities

All Rust (crates.io) entries