Unsafe Dependency Resolution Affecting openclaw package, versions <2026.4.20-beta.1


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-16298050
  • published26 Apr 2026
  • disclosed25 Apr 2026
  • creditUnknown

Introduced: 25 Apr 2026

New CVE NOT AVAILABLE CWE-427  (opens in a new tab)
CWE-454  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade openclaw to version 2026.4.20-beta.1 or higher.

Overview

openclaw is a 🦞 OpenClaw — Personal AI Assistant

Affected versions of this package are vulnerable to Unsafe Dependency Resolution via the process that loads environment variables from workspace configuration. An attacker can execute arbitrary code with the privileges of the operator by supplying malicious environment variables such as NODE_OPTIONS, LD_PRELOAD, or BASH_ENV in the workspace configuration. This is only exploitable if the operator runs the application in a workspace containing a malicious MCP configuration.

CVSS Base Scores

version 4.0
version 3.1