CVE-2026-41336

OpenClaw before 2026.3.31 allows workspace .env files to override the OPENCLAW_BUNDLED_HOOKS_DIR environment variable, enabling loading of attacker-controlled hook code. Attackers can replace trusted default-on bundled hooks from untrusted workspaces to execute arbitrary code.
Configurations

Configuration 1 (hide)

cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*

History

28 Apr 2026, 18:55

Type Values Removed Values Added
CPE cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
First Time Openclaw openclaw
Openclaw
References () https://github.com/openclaw/openclaw/commit/330a9f98cb29c79b1c16a2117e03d6276a0d6289 - () https://github.com/openclaw/openclaw/commit/330a9f98cb29c79b1c16a2117e03d6276a0d6289 - Patch
References () https://github.com/openclaw/openclaw/security/advisories/GHSA-3qpv-xf3v-mm45 - () https://github.com/openclaw/openclaw/security/advisories/GHSA-3qpv-xf3v-mm45 - Vendor Advisory
References () https://www.vulncheck.com/advisories/openclaw-arbitrary-hook-code-execution-via-openclaw-bundled-hooks-dir-environment-variable-override - () https://www.vulncheck.com/advisories/openclaw-arbitrary-hook-code-execution-via-openclaw-bundled-hooks-dir-environment-variable-override - Third Party Advisory

23 Apr 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-23 22:16

Updated : 2026-04-28 18:55


NVD link : CVE-2026-41336

Mitre link : CVE-2026-41336

CVE.ORG link : CVE-2026-41336


JSON object : View

Products Affected

openclaw

  • openclaw
CWE
CWE-829

Inclusion of Functionality from Untrusted Control Sphere