Permissive List of Allowed Inputs
CVE-2026-41387
Summary
OpenClaw versions prior to 2026.3.22-beta.1 contains an incomplete host environment variable sanitization vulnerability in 'host-env-security-policy.json' and 'host-env-security.ts' that allows package-manager environment overrides. Attackers can exploit approved exec requests to redirect package resolution or runtime bootstrap to attacker-controlled infrastructure and execute trojanized content.
- LOW
- LOCAL
- HIGH
- UNCHANGED
- REQUIRED
- NONE
- HIGH
- HIGH
CWE-183 - Permissive List of Allowed Inputs
The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are explicitly allowed by policy because the inputs are assumed to be safe, but the list is too permissive - that is, it allows an input that is unsafe, leading to resultant weaknesses.
References
Advisory Timeline
- Published