GitHub Advisoryadvisory · npm
GHSA-cm8v-2vh9-cxf3 OpenClaw: GIT_DIR and related git plumbing env vars missing from exec env denylist (GHSA-m866-6qv5-p2fg variant)
LOW
Official page ↗
- Aliases
- CVE-2026-41915
- Ecosystem
- npm
- Packages
- openclaw
- Severity
- Low
- CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
- Weaknesses
- CWE-184, CWE-78
- Reviewed
- 2026-04-09
Affected packages
• npm openclaw: < 2026.4.8 → fixed in 2026.4.8
Description
Impact
GIT_DIR and related git plumbing env vars missing from exec env denylist (GHSA-m866-6qv5-p2fg variant).
Git plumbing environment variables were not removed before host exec and could redirect Git operations.
OpenClaw is a user-controlled local assistant. This advisory is scoped to the OpenClaw trust model and does not assume a multi-tenant service boundary.
Affected Packages / Versions
• Package: `openclaw` (npm)
• Affected versions: `<=2026.3.30`
• Patched versions: `2026.4.8`
Fix
The issue was fixed on `main` and is available in the patched npm version listed above. The verified fixed tree is commit `d7c3210cd6f5fdfdc1beff4c9541673e814354d5`.
Verification
The fix was re-checked against `main` before publication, including targeted regression tests for the affected security boundary.
Credits
Thanks @boy-hack of Tencent zhuque Lab (https://github.com/Tencent/AI-Infra-Guard) for reporting.
Related
Alias · CVE (1)
- CVE-2026-41915 OpenClaw before 2026.4.8 fails to remove git plumbing environment variables from the execution environment before host exec operations. vulnerability
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-cm8v-2vh9-cxf3 web
- https://nvd.nist.gov/vuln/detail/CVE-2026-41915 advisory
- https://github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5 web
- https://github.com/openclaw/openclaw package
- https://www.vulncheck.com/advisories/openclaw-git-environment-variable-injection-via-unfiltered-exec-environment web