uutils coreutils TOCTOU Race Condition Vulnerability in Install Utility Allows Overwriting of System Files

Vulnerability

A TOCTOU (Time-of-Check to Time-of-Use) race condition vulnerability has been identified in the install utility of uutils coreutils version 0.6.0. The issue arises during file installation, where the utility unlinks an existing file and then recreates it without using the O_EXCL flag. This creates a window of opportunity for a local attacker to exploit the vulnerability by replacing the file with a symbolic link, redirecting privileged writes to overwrite arbitrary system files.

Impact

Exploitation of this vulnerability allows for unauthorized overwriting of system files, potentially leading to system instability or unauthorized privilege escalation.

Reproduction

The vulnerability can be reproduced by using the 'install' command from uutils coreutils 0.6.0. The command should be executed in a way that the target file is replaced by a symbolic link before the file is recreated, taking advantage of the absence of the O_EXCL flag.

Remediation

Users can update to uutils coreutils version 0.6.0 or later, where this vulnerability has been addressed.

Added: Apr 22, 2026, 6:07 PM
Updated: Apr 22, 2026, 6:07 PM

Vulnerability Rating

Custom Algorithm
spread
8.4
impact
3.1
exploitability
3.2
remediation
7.7
relevance
6.5
threat
1.6
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.