Description
OpenClaw before 2026.4.20 fails to properly reserve the OPENCLAW_ runtime-control environment namespace in workspace dotenv files, allowing attackers to override critical runtime variables. Malicious workspaces can set variables like OPENCLAW_GIT_DIR to manipulate trusted OpenClaw runtime behavior during source-update or installer flows.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| OpenClaw | OpenClaw | < 2026.4.20 |
References
- https://github.com/openclaw/openclaw/commit/018494fa3ebb9145112e68b56fe1cb2e9f9a9ed6Patch
- https://github.com/openclaw/openclaw/security/advisories/GHSA-hxvm-xjvf-93f3Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/openclaw-environment-variable-namespace-collision-via-workspace-dotenvThird Party Advisory
Timeline
- Published
- May 6, 2026
- Last modified
- Nov 11, 2026
- NVD status
- Analyzed