All reports
High

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

Affected versions

Affected versions
< 2026.3.22
Fixed version
2026.3.22

Exploitation

CVE-2026-41387

Probability of exploitation in the next 30 days: 0.24%

FIRST EPSS · 2026-11-23

Description

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).

Links

Credits

  • tdjackey