CVE-2026-41373 OpenClaw < 2026.3.31 - Compiler Binary Substitution via Environment Variable Override in Host Execution Policy
MediumCVSS 5.8
EPSS 0.19%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.3.31 | 2026.3.31 | Fixed |
| npm openclaw(npm) | < 2026.3.31; <= 2026.3.28 | 2026.3.31 | Fixed |
| openclaw | < 2026.3.31 | 2026.3.31 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.3.31 | 2026.3.31 |
| npm openclaw(npm) | <= 2026.3.28 | No fix listed |
| openclaw | < 2026.3.31 | 2026.3.31 |
| npm openclaw(npm) | < 2026.3.31 | 2026.3.31 |
References
- GitHub Security Advisory (GHSA-g8xp-qx39-9jq9) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.3.31 - Compiler Binary Substitution via Environment Variable Override in Host Execution Policy third-party-advisory
- github.com
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product