CVE-2026-41373
Severity CVSS v4.0:
MEDIUM
Type:
CWE-427
Uncontrolled Search Path Element
Publication date:
28/04/2026
Last modified:
01/05/2026
Description
OpenClaw before 2026.3.31 contains an incomplete host-env-security-policy.json that fails to restrict compiler binary environment variables, allowing untrusted models to substitute CC, CXX, CARGO_BUILD_RUSTC, and CMAKE_C_COMPILER via environment overrides. Attackers with approved host-exec requests can override compiler binaries to execute arbitrary code during build processes.
Impact
Base Score 4.0
5.80
Severity 4.0
MEDIUM
Base Score 3.x
6.10
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* | 2026.3.31 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



