CVE-2026-41373
OpenClaw before 2026.3.31 contains an incomplete …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/openclaw/openclaw/commit/e277a37f896b5011a1df06e6490c6630074d0afa
- github.com/openclaw/openclaw/security/advisories/GHSA-g8xp-qx39-9jq9
- www.vulncheck.com/advisories/openclaw-compiler-binary-substitution-via-environment-variabl
- github.com/openclaw/openclaw/releases/tag/v2026.3.31
- github.com/advisories/GHSA-g8xp-qx39-9jq9
- nvd.nist.gov/vuln/detail/CVE-2026-41373
- nvd.nist.gov/vuln/detail/CVE-2026-41373
- cve.org/CVERecord?id=CVE-2026-41373
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.