Intel

AIKIDO-2026-115554

coreutils is vulnerable to Link Following

Link FollowingGHSA-pqxf-vf75-qfxj Published 4 days ago

82

High Risk

This Affects:

RUSTcoreutils
0.0.29 - 0.10.0
Fixed in 0.11.0
Are you affected? Scan for Free

TL;DR

chmod skips its symlink guard when the mode comes from --reference, so recursive (-R) traversal follows those links. A local user who can write into a traversed subdirectory can plant symlinks that redirect the privileged permission change to files outside the intended tree, widening permissions on sensitive files and enabling local privilege escalation. The fix checks the symlink guard before selecting the mode so recursion does not follow symlinks.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run chmod -R --reference over a tree that a local user can populate with symlinks.

Background info

coreutils is vulnerable to Link Following in versions 0.0.29 - 0.10.0.

How to fix this

Upgrade the coreutils library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform