Advisory

GHSA-wq63-vh5h-pr5p

Also known as: CVE-2026-35372

Summary

uutils coreutils has a UNIX Symbolic Link (Symlink) Following issue

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-22 18:31 UTC
Modified
2026-05-05 16:26 UTC

Affected packages and fixes

coreutils

crates.io · All systems

Affected

  • introduced 0, fixed 0.8.0 (semver)

Fixed versions

0.8.0

Fix

  • Fixed version 0.8.0
    cargo update -p coreutils --precise 0.8.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences