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.
https://github.com/openclaw/openclaw/security/advisories/GHSA-cm8v-2vh9-cxf3
https://github.com/openclaw/openclaw/commit/d7c3210cd6f5fdfdc1beff4c9541673e814354d5
Published: 2026-04-28
Updated: 2026-04-28
Base Score: 4.5
Vector: CVSS2#AV:L/AC:H/Au:S/C:P/I:C/A:N
Severity: Medium
Base Score: 5.3
Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
Severity: Medium
Base Score: 5.8
Vector: CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N
Severity: Medium