Command Injection Affecting openclaw package, versions <2026.2.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (21st 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-15307787
  • published18 Feb 2026
  • disclosed17 Feb 2026
  • creditPetr Simecek

Introduced: 17 Feb 2026

NewCVE-2026-28470  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade openclaw to version 2026.2.2 or higher.

Overview

openclaw is a 🦞 OpenClaw — Personal AI Assistant

Affected versions of this package are vulnerable to Command Injection via the exec approvals allowlist when command substitution or backticks are used inside double quotes. An attacker can execute arbitrary commands by bypassing the intended restrictions on allowed commands.

Note: This is only exploitable if the optional exec approvals allowlist feature is explicitly enabled.

References

CVSS Base Scores

version 4.0
version 3.1