Description
OpenClaw before 2026.4.9 contains an environment variable injection vulnerability allowing malicious workspace .env files to set runtime-control variables. Attackers can inject variables affecting update sources, gateway URLs, ClawHub resolution, and browser executable paths to compromise application behavior.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.4.9 | 2026.4.9 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.4.9 | 2026.4.9 | GHSA-7wv4-cc7p-jhxc |
Advisories 1
- WID-SEC-2026-1161 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 6, 2026
References
- GitHub Security Advisory (GHSA-7wv4-cc7p-jhxc) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.4.9 - Environment Variable Injection via Workspace .env File third-party-advisory