High severity7.8NVD Advisory· Published Apr 23, 2026· Updated Apr 28, 2026
CVE-2026-41336
CVE-2026-41336
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
openclawnpm | < 2026.3.31 | 2026.3.31 |
Affected products
2Patches
Vulnerability mechanics
References
6- github.com/openclaw/openclaw/commit/330a9f98cb29c79b1c16a2117e03d6276a0d6289nvdPatchWEB
- github.com/advisories/GHSA-3qpv-xf3v-mm45ghsaADVISORY
- github.com/openclaw/openclaw/security/advisories/GHSA-3qpv-xf3v-mm45nvdVendor AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2026-41336ghsaADVISORY
- www.vulncheck.com/advisories/openclaw-arbitrary-hook-code-execution-via-openclaw-bundled-hooks-dir-environment-variable-overridenvdThird Party AdvisoryWEB
- github.com/openclaw/openclaw/releases/tag/v2026.3.31ghsaWEB
News mentions
0No linked articles in our index yet.