Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-35345: CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition in Uutils coreutils

0
Medium
VulnerabilityCVE-2026-35345cvecve-2026-35345cwe-367cwe-59
Published: Wed Apr 22 2026 (04/22/2026, 16:07:49 UTC)
Source: CVE Database V5
Vendor/Project: Uutils
Product: coreutils

Description

A vulnerability in the tail utility of uutils coreutils allows for the exfiltration of sensitive file contents when using the --follow=name option. Unlike GNU tail, the uutils implementation continues to monitor a path after it has been replaced by a symbolic link, subsequently outputting the contents of the link's target. In environments where a privileged user (e.g., root) monitors a log directory, a local attacker with write access to that directory can replace a log file with a symlink to a sensitive system file (such as /etc/shadow), causing tail to disclose the contents of the sensitive file.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/22/2026, 17:02:56 UTC

Technical Analysis

The vulnerability exists in the uutils coreutils tail command's handling of the --follow=name option. Unlike GNU tail, uutils tail does not stop monitoring a file path when it is replaced by a symbolic link. This allows a local attacker with write access to a directory monitored by a privileged user to replace a log file with a symlink to a sensitive file. The tail utility then outputs the contents of the sensitive file, leading to unauthorized information disclosure. The issue is classified as a Time-of-Check Time-of-Use (TOCTOU) race condition (CWE-367).

Potential Impact

The vulnerability can lead to unauthorized disclosure of sensitive file contents, such as /etc/shadow, if a privileged user uses uutils tail with --follow=name on a directory writable by a local attacker. This compromises confidentiality but does not affect integrity or availability. Exploitation requires local write access and privileges to monitor logs, limiting the attack surface. No known exploits in the wild have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using the --follow=name option of uutils tail on directories writable by untrusted users, especially when running with elevated privileges. Consider using GNU tail as an alternative, which does not exhibit this behavior.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
canonical
Date Reserved
2026-04-02T12:58:56.087Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 69e8f7ce19fe3cd2cdd00c17

Added to database: 4/22/2026, 4:31:10 PM

Last enriched: 4/22/2026, 5:02:56 PM

Last updated: 4/23/2026, 1:11:21 AM

Views: 7

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses