CVE 8.5 HIGH

OpenClaw < 2026.3.31 - Arbitrary Hook Code Execution via OPENCLAW_BUNDLED_HOOKS_DIR Environment Variable Override_CVE-2026-41336

8.5 / 10
HIGH
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

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 Analysis

Arbitrary hook code execution via OPENCLAW_BUNDLED_HOOKS_DIR environment variable override

Basic Information

ID CVE-2026-41336
Source VulnCheck
Published Apr 23, 2026 at 21:57

Affected Product

Vendor OpenClaw
Product OpenClaw
Affected Versions OpenClaw OpenClaw 0

CWE Classification

AI Assessment

AI Score 8.5 / 10
AI Severity High
Vendor OpenClaw
Product OpenClaw
Version < 2026.3.31

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.