Home

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.

PUBLISHED Reserved 2026-03-10 | Published 2026-03-19 | Updated 2026-03-19 | Assigner VulnCheck




MEDIUM: 5.8CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N

MEDIUM: 5.3CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:L

Problem types

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78)

Product status

Default status
unaffected

2026.1.21 (semver) before 2026.2.19
affected

2026.2.19 (semver)
unaffected

Credits

tdjackey reporter

References

github.com/...enclaw/security/advisories/GHSA-fg3m-vhrr-8gj6 (GitHub Security Advisory (GHSA-fg3m-vhrr-8gj6)) third-party-advisory

github.com/...ommit/ba7be018da354ea9f803ed356d20464df0437916 (Patch Commit) patch

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) third-party-advisory

cve.org (CVE-2026-31995)

nvd.nist.gov (CVE-2026-31995)

Download JSON