CVE-2026-35345

uutils coreutils tail Privileged Information Disclosure via Symlink Replacement Race

State
Published
Severity
5.3 Medium
Published
Apr 22, 2026
Updated
Apr 22, 2026
Reserved
Apr 2, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:Ncanonical

Weaknesses

  • CWE-367 Time-of-Check Time-of-Use (TOCTOU) Race Condition
  • CWE-59 Improper Link Resolution Before File Access ('Link Following')

Affected Products

ProductVersions
coreutilsUutils

    References

    Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.