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.
Metrics
CVSS 3.1 6.1/10
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:NWeakness enumeration
Affected software
No affected versions have been published.
Timeline
- Published
- Apr 28, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Analyzed