CVE-2026-41336CWE-829
OpenClaw < 2026.3.31 - Arbitrary Hook Code Execution via OPENCLAW_BUNDLED_HOOKS_DIR Environment Variable Override
High · published April 23, 2026
What it is
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.
The record
Technical detail
- CVSS v4.0
- 8.5 · HIGH
- Vector
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- EPSS
- 0.00196 · 8.9th percentile
- Weakness
- CWE-829 · Inclusion of Functionality from Untrusted Control Sphere
- Published
- 2026-04-23T21:57Z
EPSS history
Timeline