Link following in composer - #VU165351
Published: November 11, 2026
Vulnerability details
The vulnerability allows a remote attacker to write arbitrary files outside the package directory and potentially execute arbitrary code.
The vulnerability exists due to improper symbolic link resolution in Composer's extraction fallback from unzip to ZipArchive when processing crafted ZIP archives with both unzip and the PHP zip extension available. A remote attacker can trick a victim into installing or updating a package from an attacker-controlled archive containing symlinked entries to overwrite files that execute on a subsequent request or command.