Intel

AIKIDO-2026-368757

uu_chmod is vulnerable to Link Following

Link FollowingGHSA-2745-m2g5-p3mw Published 4 days ago

73

High Risk

This Affects:

RUSTuu_chmod
0.0.1 - 0.9.0
Fixed in 0.10.0
Are you affected? Scan for Free

TL;DR

The --preserve-root guard in chmod checks only the top level operands and is not re-checked during recursive descent. A symlink to / reached while recursing applies permission changes to the real root filesystem, defeating the guard. A privileged chmod -R -L --preserve-root run over an untrusted tree can reach that symlink. The fix no longer follows symlinks during descent so recursion does not resolve a swapped symlink to /.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you run chmod -R -L --preserve-root over a directory tree an untrusted local user can modify.

Background info

uu_chmod is vulnerable to Link Following in versions 0.0.1 - 0.9.0.

How to fix this

Upgrade the uu_chmod 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