Description
OpenClaw versions prior to 2026.2.14 contain a command hijacking vulnerability that allows attackers to execute unintended binaries by manipulating PATH environment variables through node-host execution or project-local bootstrapping. Attackers with authenticated access to node-host execution surfaces or those running OpenClaw in attacker-controlled directories can place malicious executables in PATH to override allowlisted safe-bin commands and achieve arbitrary command execution.
Problem types
Uncontrolled Search Path Element
Product status
Any version before 2026.2.14
Credits
AM (@akhmittra)
References
github.com/...enclaw/security/advisories/GHSA-jqpq-mgvm-f9r6 (GitHub Security Advisory (GHSA-jqpq-mgvm-f9r6))
github.com/...ommit/013e8f6b3be3333a229a066eef26a45fec47ffcc (Patch Commit)
www.vulncheck.com/...mand-hijacking-via-unsafe-path-handling (VulnCheck Advisory: OpenClaw < 2026.2.14 - Command Hijacking via Unsafe PATH Handling)