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.002 (8.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 8th percentile — 8.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.001 · newest: 0.002 · change: +0.001
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)
Frequently asked questions
- What is CVE-2026-41336?
- CVE-2026-41336 is a high-severity vulnerability in Openclaw, classified under Inclusion of Functionality from Untrusted Control Sphere. CVSS score: 7.8/10. Published 2026-04-23.
- How severe is CVE-2026-41336?
- High severity. CVSS v3 base score is 7.8 out of 10.