Vulnerability in Openclaw
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.001, 2.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Openclaw — versions 0, 2026.3.31
Weakness classification (CWE)
References
- github.com/openclaw/openclaw/security/advisories/GHSA-3qpv-xf3v-mm45 (vendor-advisory, Vendor Advisory)
- github.com/openclaw/openclaw/commit/330a9f98cb29c79b1c16a2117e03d6276a0d6289 (Patch, patch)
- www.vulncheck.com/advisories/openclaw-arbitrary-hook-code-execution-via-opencla… (Third Party Advisory, third-party-advisory)