OpenClaw: Host exec environment sanitization misses package, registry, Docker, compiler, and TLS override variables
Affects openclawSource GCVE Database
Not known to be exploited · CVSS 6.5 Medium : upgrade to 2026.3.31 when convenient.
Data as of 27 Oct 2026, 02:16 UTC
- Patch
- Available – fixed in 2026.3.31
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 3 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.3.31.
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
Users should upgrade OpenClaw to version 2026.3.31 or later, where the host environment sanitization issue is fixed. Since a patch is available and officially released, applying this update is the recommended remediation. No additional mitigation steps are indicated by the vendor advisory.
Description
OpenClaw versions up to 2026.3.28 have a vulnerability where the host execution environment sanitization fails to properly filter certain environment variables related to package, registry, Docker, compiler, and TLS overrides. This issue was addressed and fixed in version 2026.3.31. The vulnerability has a medium severity rating with a CVSS score of 6.5.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-cg7q-fg22-4g98 (opens in a new tab)
- github.com/openclaw/openclaw/commit/eb8de6715f02949c21c4e895fffc8a6dcb00975c (opens in a new tab)
- github.com/openclaw/openclaw (opens in a new tab)
- github.com/openclaw/openclaw/releases/tag/v2026.3.31 (opens in a new tab)
- vulncheck.com/advisories/openclaw-insufficient-environment-variable-sanitization-in-host-execution (opens in a new tab)