Arbitrary Code Injection 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 Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-OPENCLAW-15371224
  • published4 Mar 2026
  • disclosed3 Mar 2026
  • creditaether-ai-agent

Introduced: 3 Mar 2026

New CVE NOT AVAILABLE CWE-94  (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 Arbitrary Code Injection via the transform module path resolution process. An attacker can execute arbitrary JavaScript code with gateway-process privileges by causing a symlinked entry to resolve outside the trusted directory and be dynamically imported. This is only exploitable if hook transforms are enabled and reachable, the attacker can influence transform path resolution (such as via privileged config access or writable filesystem path in the transform tree), and a symlink escape exists to attacker-controlled code.

References

CVSS Base Scores

version 4.0
version 3.1