OpenClaw's incomplete host env sanitization blocklist allows supply-chain redirection via package-manager env
Affects openclawSource GCVE Database
Not known to be exploited · CVSS 8.5 High : upgrade to 2026.3.22 soon.
Data as of 27 Oct 2026, 01:55 UTC
- Patch
- Available – fixed in 2026.3.22
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 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.22.
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
A patch is available and should be applied by upgrading OpenClaw to version 2026.3.22 or later. This update includes a hardened host environment override handling mechanism that properly sanitizes environment variables to prevent redirection attacks. No additional mitigation steps are indicated by the vendor advisory.
Description
OpenClaw versions prior to 2026.3.22 contain a vulnerability in the host environment sanitization logic that fails to block certain package-manager and related environment variables. This flaw allows an attacker, upon an approved execution request, to redirect package resolution or runtime bootstrap processes to attacker-controlled infrastructure, potentially leading to execution of malicious code. The issue is fixed in version 2026.3.22.
References
- github.com/openclaw/openclaw/security/advisories/GHSA-j7p2-qcwm-94v4 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-41387 (opens in a new tab)
- github.com/openclaw/openclaw/commit/7abfff756d6c68d17e21d1657bbacbaec86de232 (opens in a new tab)
- github.com/openclaw/openclaw (opens in a new tab)
- github.com/openclaw/openclaw/releases/tag/v2026.3.22 (opens in a new tab)
- vulncheck.com/advisories/openclaw-supply-chain-redirection-via-incomplete-host-environment-sanitization (opens in a new tab)