Off-by-one Error Affecting openclaw package, versions <2026.2.23


Severity

Recommended
0.0
medium
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 IDSNYK-JS-OPENCLAW-15369762
  • published3 Mar 2026
  • disclosed3 Mar 2026
  • creditUnknown

Introduced: 3 Mar 2026

New CVE NOT AVAILABLE CWE-184  (opens in a new tab)
CWE-193  (opens in a new tab)

How to fix?

Upgrade openclaw to version 2026.2.23 or higher.

Overview

openclaw is a 🦞 OpenClaw — Personal AI Assistant

Affected versions of this package are vulnerable to Off-by-one Error in the allowlist mode. An attacker can execute unintended commands by bypassing operator safety controls using specially crafted input to env -S when /usr/bin/env is allowlisted. This can result in a mismatch between policy analysis and runtime execution, potentially enabling shell-wrapper payloads to be executed.

CVSS Base Scores

version 4.0
version 3.1