🛡️ CVE-2026-31995 — openclaw

🟡 CVSS 5.3 — Medium ✅ No Known Exploit CWE-78 OSV
5.3
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

OpenClaw has Windows Lobster shell fallback command injection in constrained fallback path

Summary

On Windows, the Lobster extension previously retried certain spawn failures (ENOENT/EINVAL) with shell: true for wrapper compatibility. In that fallback path, tool-provided arguments could be interpreted by cmd.exe if fallback was triggered.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published version at triage: 2026.2.17
  • Affected range: >= 2026.1.21 <= 2026.2.17
  • Patched version: 2026.2.19 (pre-set for next release)

Fix

The Windows shell fallback was removed. Wrapper compatibility is preserved by resolving .cmd/.bat shims to a concrete Node entrypoint (or executable) and executing with explicit argv (no shell). If a safe entrypoint cannot be resolved, execution now fails closed with a guided error.

Fix Commit(s)

  • ba7be018da354ea9f803ed356d20464df0437916

Severity Context

This issue requires Windows plus fallback-triggering conditions, and argument control through a local operator-defined workflow.

OpenClaw thanks @tdjackey for reporting.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. Rated impact: confidentiality none, integrity low, availability none.

Weakness class

CVE-2026-31995 is classified as CWE-78: OS Command Injection. Untrusted input reaches a shell command without neutralisation, so an attacker can run arbitrary operating system commands.

Affected software

CVE-2026-31995 is recorded against 1 package.

  • openclaw

Timeline and source

Published on 3 March 2026 and last revised on 17 June 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from OSV.

References

github.com (Web)
nvd.nist.gov (Advisory)
github.com (Web)
github.com (Package)
www.vulncheck.com (Web)

Details

Severity MEDIUM
CVSS Score 5.3
CVSS Vector CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
CWE CWE-78
Public Exploit ✅ No
Source OSV
Published 2026-03-03
Updated 2026-08-12
Modified 2026-06-17

Affected Packages

Software From version Fixed in
openclaw

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in openclaw

CVE-2026-31995 is rated CVSS 5.3 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.