Description
OpenClaw versions prior to commit 8aceaf5 contain a preflight validation bypass vulnerability in shell-bleed protection that allows attackers to execute blocked script content by using piped or complex command forms that the parser fails to recognize. Attackers can craft commands such as piped execution, command substitution, or subshell invocation to bypass the validateScriptFileForShellBleed() validation checks and execute arbitrary script content that would otherwise be blocked.
Problem types
CWE-184 Incomplete List of Disallowed Inputs
Product status
Any version before 8aceaf5d0f0ec552b75a792f7f0a3bfa5b091513
Credits
Zhijie Zhang
References
github.com/...enclaw/security/advisories/GHSA-fvx6-pj3r-5q4q (GitHub Security Advisory (GHSA-h3x4-hc5v-v2gm))
github.com/...ommit/8aceaf5d0f0ec552b75a792f7f0a3bfa5b091513 (Patch Commit #1)
www.vulncheck.com/...-protection-preflight-validation-bypass