ADVISORIES

GitHub Advisory Database

GHSA-hggm-x7r9-mm7v

OpenClaw is vulnerable to Path Traversal through path validation bypass

Details

OpenClaw through 2026.3.23 (fixed in commit 4797bbc) contains a path traversal vulnerability in media parsing that allows attackers to read arbitrary files by bypassing path validation in the isLikelyLocalPath() and isValidMedia() functions. Attackers can exploit incomplete validation and the allowBareFilename bypass to reference files outside the intended application sandbox, resulting in disclosure of sensitive information including system files, environment files, and SSH keys.

Affected packages

EcosystemPackageAffected versions
npmopenclaw
All versions before 2026.3.28 (fixed in 2026.3.28)

References