openclaw
Affected
- introduced
0, fixed2026.3.22(semver)
Fixed versions
2026.3.22
Fix
- Fixed version
2026.3.22npm install [email protected]
Advisory
Also known as: CVE-2026-41387
OpenClaw's incomplete host env sanitization blocklist allows supply-chain redirection via package-manager env overrides
Summary
Host exec env override sanitization did not fail closed for several package-manager and related redirect variables that can steer dependency fetches or startup behavior.
Impact
An approved exec request could silently redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.
Affected Component
src/infra/host-env-security-policy.json, src/infra/host-env-security.ts
Fixed Versions
< 2026.3.22>= 2026.3.22Fix
Fixed by commit 7abfff756d (Exec: harden host env override handling across gateway and node).
High Basis: The source's own band: HIGH
0, fixed 2026.3.22 (semver)2026.3.22
2026.3.22npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0