Command Injection The advisory has been revoked - it doesn't affect any version of package openclaw  (opens in a new tab)


Threat Intelligence

EPSS
0.83% (57th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-OPENCLAW-15372201
  • published4 Mar 2026
  • disclosed3 Mar 2026
  • credittdjackey

Introduced: 3 Mar 2026

CVE-2026-31995  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade openclaw to version 2026.2.19 or higher.

Amendment

This was deemed not a vulnerability.

Overview

openclaw is a 🦞 OpenClaw — Personal AI Assistant

Affected versions of this package are vulnerable to Command Injection via the fallback process on Windows systems when certain spawn failures occur and shell: true is used. An attacker can execute arbitrary commands by supplying crafted arguments that are interpreted by cmd.exe if the fallback is triggered. This is only exploitable if the application is running on Windows, the fallback path is triggered (such as by specific spawn errors), and the attacker has control over the arguments passed through a local workflow.

References