Skip to main content
VulnerabilityPublished Updated

Duplicate Advisory: uutils coreutils has a Time-of-Check to Time-of-Use (TOCTOU) race condition

Affects coreutilsSource GCVE Database

0

CVSS 6.3 Medium : upgrade to 0.6.0 when convenient.

Data as of 7 Jul 2026, 12:28 UTC

CVSS 3.1 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 0.6.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H

What to do

Upgrade coreutils to 0.6.0.

Affected software

ProductAffectedFixed in
crates.iocoreutilsAffected
  • <0.6.0
Fixed in
  • 0.6.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Since this advisory is a duplicate and withdrawn, refer to the original advisory for official fixes or mitigations. If you cannot patch yet, avoid running the vulnerable install utility in untrusted environments or with elevated privileges.

Description

### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-239g-2685-54x3. This link is maintained to preserve external references. ### Original Description The install utility in uutils coreutils is vulnerable to a Time-of-Check to Time-of-Use (TOCTOU) race condition during file installation. The implementation unlinks an existing destination file and then recreates it using a path-based operation without the O_EXCL flag. A local attacker can exploit the window between the unlink and the subsequent creation to swap the path with a symbolic link, allowing them to redirect privileged writes to overwrite arbitrary system files.

References

Community reviews

Loading reviews…