medium5.3
CVE-2026-41915
OpenClaw before 2026.4.8 fails to remove git plumbing environment variables from the execution environment before host exec operations.
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | openclaw | < 2026.4.8 | 2026.4.8 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Openclaw | Openclaw | before 2026.4.8 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-cm8v-2vh9-cxf3
- https://github.com/openclaw/openclaw/security/advisories/GHSA-cm8v-2vh9-cxf3
- https://nvd.nist.gov/vuln/detail/CVE-2026-41915
- https://github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5
- https://www.vulncheck.com/advisories/openclaw-git-environment-variable-injection-via-unfiltered-exec-environment