GitHub Advisoryadvisory · crates.io

GHSA-wq63-vh5h-pr5p uutils coreutils has a UNIX Symbolic Link (Symlink) Following issue

MEDIUM Published 2026-04-22 Modified 2026-04-30 Official page ↗
Aliases
CVE-2026-35372
Ecosystem
crates.io
Packages
coreutils
Severity
Moderate
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N
Weaknesses
CWE-61
Reviewed
2026-04-30

Affected packages

• crates.io coreutils: < 0.8.0 → fixed in 0.8.0

Description

A logic error in the ln utility of uutils coreutils allows the utility to dereference a symbolic link target even when the --no-dereference (or -n) flag is explicitly provided. The implementation previously only honored the "no-dereference" intent if the --force (overwrite) mode was also enabled. This flaw causes ln to follow a symbolic link that points to a directory and create new links inside that target directory instead of treating the symbolic link itself as the destination. In environments where a privileged user or system script uses ln -n to update a symlink, a local attacker could manipulate existing symbolic links to redirect file creation into sensitive directories, potentially leading to unauthorized file creation or system misconfiguration.

Related

Alias · CVE (1)

  • CVE-2026-35372 A logic error in the ln utility of uutils coreutils allows the utility to dereference a symbolic link target even when the --no-dereference… vulnerability

Weakness · CWE (1)

  • CWE-61 UNIX Symbolic Link (Symlink) Following weakness

References