External Control of System or Configuration Setting Affecting openclaw package, versions <2026.3.31-beta.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (3rd 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 IDSNYK-JS-OPENCLAW-15899233
  • published5 Apr 2026
  • disclosed2 Apr 2026
  • creditUnknown

Introduced: 2 Apr 2026

NewCVE-2026-41336  (opens in a new tab)
CWE-15  (opens in a new tab)

How to fix?

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

Overview

openclaw is a 🦞 OpenClaw — Personal AI Assistant

Affected versions of this package are vulnerable to External Control of System or Configuration Setting via the handling of the .env configuration file, which allows the override of the OPENCLAW_BUNDLED_HOOKS_DIR environment variable. An attacker can execute arbitrary code by placing a malicious .env file in the workspace that points to attacker-controlled hook code.

CVSS Base Scores

version 4.0
version 3.1