BreachSpiderVerified, not vibes

CVE-2026-31995 in Openclaw and 1 more product

High 7.0 Fix available

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 c...

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.17.0
CVSS v45.8
EPSS0.9%
EPSS percentile59th
FixAvailable

Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Openclaw Openclaw ≥ 2026.1.21, < 2026.2.19

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-31995
BreachSpider IDBS-2026-GLOBAL-081163-H
CVSS vectorCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2026-03-19
Last modified2026-03-19
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

CAPEC-88 OS Command Injection via CWE-78

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

OpenClaw versions 2026.1.21 prior to 2026.2.19 are vulnerable to a command injection flaw in the Lobster extension's Windows shell fallback mechanism, enabling attackers to execute arbitrary commands.

The vulnerability exists in the Lobster extension's Windows shell fallback mechanism. When spawn failures occur and shell: true is set, attackers can inject malicious commands through tool-provided arguments, which are then executed via cmd.exe.

Questions

What is CVE-2026-31995?

OpenClaw versions 2026.1.21 prior to 2026.2.19 are vulnerable to a command injection flaw in the Lobster extension's Windows shell fallback mechanism, enabling attackers to execute arbitrary commands.

What is the CVSS score for CVE-2026-31995?

CVE-2026-31995 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.9%.

Is CVE-2026-31995 actively exploited?

No confirmed active exploitation of CVE-2026-31995 as of 2026-05-30.

How do I remediate CVE-2026-31995?

Priority: HIGH. PSIRT: [email protected]

What systems are affected by CVE-2026-31995?

CVE-2026-31995 affects Openclaw Openclaw.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Openclaw","product":"Openclaw","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-03-19.