{"id":"CVE-2026-31995","details":"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.","aliases":["GHSA-fg3m-vhrr-8gj6"],"modified":"2026-04-02T13:24:10.499704Z","published":"2026-03-19T02:16:04.707Z","references":[{"type":"ADVISORY","url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-fg3m-vhrr-8gj6"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openclaw-command-injection-via-windows-shell-fallback-in-lobster-extension"},{"type":"FIX","url":"https://github.com/openclaw/openclaw/commit/ba7be018da354ea9f803ed356d20464df0437916"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openclaw/openclaw","events":[{"introduced":"80c1edc3ff43b3bd3b7b545eed79f303d992f7dc"},{"fixed":"2c05cbb43e48ebad03626d3125746fb1b9a8520f"},{"fixed":"ba7be018da354ea9f803ed356d20464df0437916"}],"database_specific":{"versions":[{"introduced":"2026.1.21"},{"fixed":"2026.2.19"}]}}],"versions":["v2026.1.21","v2026.1.22","v2026.1.23","v2026.1.24","v2026.1.24-1","v2026.1.29","v2026.1.30","v2026.2.1","v2026.2.12","v2026.2.13","v2026.2.14","v2026.2.15-beta.1","v2026.2.17","v2026.2.2","v2026.2.3","v2026.2.6","v2026.2.6-1","v2026.2.6-2","v2026.2.6-3","v2026.2.9"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31995.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}