Incorrect Authorization Affecting openclaw package, versions <2026.2.22


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Incorrect Authorization vulnerabilities in an interactive lesson.

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

Introduced: 3 Mar 2026

New CVE NOT AVAILABLE CWE-78  (opens in a new tab)
CWE-863  (opens in a new tab)

How to fix?

Upgrade openclaw to version 2026.2.22 or higher.

Overview

openclaw is a 🦞 OpenClaw — Personal AI Assistant

Affected versions of this package are vulnerable to Incorrect Authorization via system.run when shell line-continuation and command substitution are used to bypass allowlist analysis. An attacker can execute unauthorized commands by crafting input that splits command substitution across lines, causing the analysis to misinterpret the payload and allowing execution of non-allowlisted subcommands.

Note: This is only exploitable if the deployment is configured with tools.exec.security=allowlist (with ask=on-miss or off).

Workaround

This vulnerability can be mitigated by setting tools.exec.ask=always or tools.exec.security=deny.

References

CVSS Base Scores

version 4.0
version 3.1