CVE-2026-35372
MEDIUM5.0EPSS 0.01%uutils coreutils has a UNIX Symbolic Link (Symlink) Following issue
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.
Affected packages (2)
- crates.io/coreutilsfrom 0, < 0.8.0
- Debian/rust-coreutilsfrom 0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.0 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2026-35372
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2026-35372
- PATCHhttps://github.com/uutils/coreutils
- WEBhttps://github.com/uutils/coreutils/commit/394c4b17f2f382b4be9f54389bcb79028de02f39
- WEBhttps://github.com/uutils/coreutils/pull/11253
- WEBhttps://github.com/uutils/coreutils/releases/tag/0.8.0