VDB
Sign up
CRITICAL9.6

GHSA-j7p2-qcwm-94v4

OpenClaw's incomplete host env sanitization blocklist allows supply-chain redirection via package-manager env overrides

Quick fix

GHSA-j7p2-qcwm-94v4 — openclaw: upgrade to the fixed version with the command below.

npm install openclaw@2026.3.22

Details

## 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

- Affected: `< 2026.3.22` - Patched: `>= 2026.3.22`

## Fix

Fixed by commit `7abfff756d` (`Exec: harden host env override handling across gateway and node`).

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/openclaw
Introduced in: 0Fixed in: 2026.3.22
Fixnpm install openclaw@2026.3.22

References