Description
OpenClaw before 2026.4.8 fails to remove git plumbing environment variables from the execution environment before host exec operations. Attackers can exploit this by setting GIT_DIR and related variables to redirect git operations and compromise repository integrity.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.4.8 | 2026.4.8 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.4.8 | 2026.4.8 | GHSA-cm8v-2vh9-cxf3 |
Advisories 1
- WID-SEC-2026-1005 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 28, 2026
References
- GitHub Security Advisory (GHSA-cm8v-2vh9-cxf3) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.4.8 - Git Environment Variable Injection via Unfiltered Exec Environment third-party-advisory