Description
OpenClaw Windows Node before 2026.7.1 contains an incomplete environment-variable sanitizer in system.run that fails to block GIT_CONFIG_*, DOTNET_STARTUP_HOOKS, and JAVA_TOOL_OPTIONS variables. Attackers with gateway or agent access can supply these variables to allowlisted tools like git, dotnet, or java to load attacker-controlled code and achieve arbitrary code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw Windows Node | < 2026.7.1 | 2026.7.1 |
References
- GitHub Security Advisory (GHSA-39cf-qcfw-g8pg) vendor-advisory
- https://github.com/openclaw/openclaw-windows-node/commit/261ba11aaad671834ad141bb85101b50cf1a38f6 patch
- OpenClaw Windows Node v2026.7.1 Release Notes release-notes
- https://github.com/openclaw/openclaw-windows-node/blob/v0.6.12/src/OpenClaw.Shared/ExecEnvSanitizer.cs#L15-L50 technical-description
- VulnCheck Advisory: OpenClaw Windows Node before 2026.7.1 Remote Code Execution via Environment Override third-party-advisory