Link following in OpenClaw - #VU128827
Published: May 1, 2026
OpenClaw
OpenClaw
Description
The vulnerability allows a remote attacker to write arbitrary files outside the intended extraction destination.
The vulnerability exists due to improper link resolution before file access in ZIP extraction logic in src/infra/archive.ts when extracting an attacker-controlled archive with a pre-existing symlink in the destination path. A remote attacker can supply a specially crafted archive to write arbitrary files outside the intended extraction destination.
Exploitation requires a pre-existing symlink under the extraction root in a destination path segment.