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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.3.31 | 2026.3.31 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.3.31 | 2026.3.31 | GHSA-3qpv-xf3v-mm45 |
Advisories 1
- WID-SEC-2026-0948 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 28, 2026