CVE-2026-35356 PUBLISHED

uutils coreutils install Arbitrary File Overwrite with -D via Path Component Symlink Race

Assigner: canonical
Reserved: 02.04.2026 Published: 22.04.2026 Updated: 22.04.2026

A Time-of-Check to Time-of-Use (TOCTOU) vulnerability exists in the install utility of uutils coreutils when using the -D flag. The command creates parent directories and subsequently performs a second path resolution to create the target file, neither of which is anchored to a directory file descriptor. An attacker with concurrent write access can replace a path component with a symbolic link between these operations, redirecting the privileged write to an arbitrary file system location.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS Score: 6.3

Product Status

Vendor Uutils
Product coreutils
Versions Default: unaffected
  • affected from 0 to 0.7.0 (excl.)

Credits

  • Zellic finder

References

Problem Types

  • CWE-367: Time-of-Check Time-of-Use (TOCTOU) Race Condition CWE

Impacts

  • CAPEC-29: Leveraging Time-of-Check and Time-of-Use (TOCTOU) Race Conditions