Skip to content
HighVulnerability

CVE-2026-41336: OpenClaw workspace .env files override bundled hooks directory variable

Identifier
CVE-2026-41336
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.

Summary

OpenClaw before 2026.3.31 lets workspace .env files override the OPENCLAW_BUNDLED_HOOKS_DIR environment variable, causing it to load attacker-controlled hook code. An attacker can replace trusted, default-on bundled hooks from an untrusted workspace to execute arbitrary code.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.