Description
OpenClaw before 2026.5.2 contains an environment variable injection vulnerability where workspace .env STATE_DIRECTORY could influence bundled runtime dependency roots. Attackers can manipulate the STATE_DIRECTORY variable to load runtime dependencies from unintended local paths, potentially executing malicious code during dependency resolution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.5.2 | 2026.5.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.5.2 | 2026.5.2 | GHSA-wc84-j36w-pw4x |
Advisories 1
- WID-SEC-2026-1738 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 16, 2026