Description
OpenClaw versions 2026.1.21 prior to 2026.2.19 contain a command injection vulnerability in the Lobster extension's Windows shell fallback mechanism that allows attackers to inject arbitrary commands through tool-provided arguments. When spawn failures trigger shell fallback with shell: true, attackers can exploit cmd.exe command interpretation to execute malicious commands by controlling workflow arguments.
Problem types
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)
Product status
2026.1.21 (semver) before 2026.2.19
2026.2.19 (semver)
Credits
tdjackey
References
github.com/...enclaw/security/advisories/GHSA-fg3m-vhrr-8gj6 (GitHub Security Advisory (GHSA-fg3m-vhrr-8gj6))
github.com/...ommit/ba7be018da354ea9f803ed356d20464df0437916 (Patch Commit)
www.vulncheck.com/...ows-shell-fallback-in-lobster-extension (VulnCheck Advisory: OpenClaw 2026.1.21 < 2026.2.19 - Command Injection via Windows Shell Fallback in Lobster Extension)