# CVE-2026-41336

> Vulnerability · severity: **HIGH** (CVSS 7.8).

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

## Key facts

- **CVE ID:** CVE-2026-41336
- **Published:** 2026-04-23
- **CVSS severity:** HIGH
- **CVSS base score:** 7.8
- **CWE codes:** CWE-829

## Affected products

- `openclaw:openclaw`

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-41336

## Citation

> AI Analytics. CVE-2026-41336. Retrieved 2026-07-13 from https://api.ai-analytics.org/cve/CVE-2026-41336. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*