Improper Encoding or Escaping of Output Affecting openclaw package, versions <2026.2.19


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.57% (43rd 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 IDSNYK-JS-OPENCLAW-15375305
  • published4 Mar 2026
  • disclosed3 Mar 2026
  • credittdjackey

Introduced: 3 Mar 2026

CVE-2026-31994  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade openclaw to version 2026.2.19 or higher.

Overview

openclaw is a 🦞 OpenClaw — Personal AI Assistant

Affected versions of this package are vulnerable to Improper Encoding or Escaping of Output via the script generation process in Windows deployments due to improper handling of command-line arguments in gateway.cmd. An attacker can execute arbitrary commands in the context of the scheduled task by supplying specially crafted arguments containing command-line metacharacters or line breaks.

References

CVSS Base Scores

version 4.0
version 3.1