CVE-2026-41336

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) OpenClaw anterior a 2026.3.31 permite que los archivos .env del espacio de trabajo anulen la variable de entorno OPENCLAW_BUNDLED_HOOKS_DIR, lo que posibilita la carga de código hook controlado por el atacante. Los atacantes pueden reemplazar los hooks empaquetados de confianza activados por defecto desde espacios de trabajo no confiables para ejecutar código arbitrario.

28 Apr 2026, 18:55

Type Values Removed Values Added
References () https://github.com/openclaw/openclaw/commit/330a9f98cb29c79b1c16a2117e03d6276a0d6289 - () https://github.com/openclaw/openclaw/commit/330a9f98cb29c79b1c16a2117e03d6276a0d6289 - Patch
References () https://github.com/openclaw/openclaw/security/advisories/GHSA-3qpv-xf3v-mm45 - () https://github.com/openclaw/openclaw/security/advisories/GHSA-3qpv-xf3v-mm45 - Vendor Advisory
References () https://www.vulncheck.com/advisories/openclaw-arbitrary-hook-code-execution-via-openclaw-bundled-hooks-dir-environment-variable-override - () https://www.vulncheck.com/advisories/openclaw-arbitrary-hook-code-execution-via-openclaw-bundled-hooks-dir-environment-variable-override - Third Party Advisory
CPE cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
First Time Openclaw openclaw
Openclaw

23 Apr 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-23 22:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-41336

Mitre link : CVE-2026-41336

CVE.ORG link : CVE-2026-41336


JSON object : View

Products Affected

openclaw

  • openclaw
CWE
CWE-829

Inclusion of Functionality from Untrusted Control Sphere