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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| OpenClaw | OpenClaw | < 2026.4.8 |
References
- https://github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5Patch
- https://github.com/openclaw/openclaw/security/advisories/GHSA-cm8v-2vh9-cxf3Vendor Advisory
- https://www.vulncheck.com/advisories/openclaw-git-environment-variable-injection-via-unfiltered-exec-environmentThird Party Advisory
Timeline
- Published
- Apr 28, 2026
- Last modified
- Nov 11, 2026
- NVD status
- Analyzed