CVE-2026-41336
OpenClaw before 2026.3.31 allows workspace .env files to override …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/openclaw/openclaw/commit/330a9f98cb29c79b1c16a2117e03d6276a0d6289
- github.com/openclaw/openclaw/security/advisories/GHSA-3qpv-xf3v-mm45
- www.vulncheck.com/advisories/openclaw-arbitrary-hook-code-execution-via-openclaw-bundled-h
- github.com/openclaw/openclaw/releases/tag/v2026.3.31
- nvd.nist.gov/vuln/detail/CVE-2026-41336
- github.com/advisories/GHSA-3qpv-xf3v-mm45
- nvd.nist.gov/vuln/detail/CVE-2026-41336
- cve.org/CVERecord?id=CVE-2026-41336
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.