OpenClaw: GIT_DIR and related git plumbing env vars missing from exec env denylist (GHSA-m866-6qv5-p2fg variant)
Affects openclawSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 2026.4.8 when convenient.
Data as of 27 Oct 2026, 01:56 UTC
- Patch
- Available – fixed in 2026.4.8
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 9 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Upgrade openclaw to 2026.4.8.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmopenclaw | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade OpenClaw to version 2026.4.8 or later, where the vulnerability is fixed. The fix has been verified with targeted regression tests. No additional mitigation is required beyond applying the official patch.
Description
OpenClaw versions up to 2026.3.30 have a vulnerability where Git plumbing environment variables such as GIT_DIR were not removed from the execution environment denylist. This flaw could allow user-controlled local assistants to redirect Git operations improperly. The issue is fixed in version 2026.4.8.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-cm8v-2vh9-cxf3 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-41915 (opens in a new tab)
- github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5 (opens in a new tab)
- github.com/openclaw/openclaw (opens in a new tab)
- vulncheck.com/advisories/openclaw-git-environment-variable-injection-via-unfiltered-exec-environment (opens in a new tab)