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 (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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:uutils:coreutils:*:*:*:*:*:rust:*:*

History

No history.

Information

Published : 2026-04-22 17:16

Updated : 2026-06-17 10:40


NVD link : CVE-2026-35372

Mitre link : CVE-2026-35372

CVE.ORG link : CVE-2026-35372


JSON object : View

Products Affected

uutils

  • coreutils
CWE
CWE-61

UNIX Symbolic Link (Symlink) Following