CVE-2026-42427
OpenClaw before 2026.4.8 contains a remote code execution …
OpenClaw before 2026.4.8 contains a remote code execution vulnerability caused by missing environment variable denylist entries for HGRCPATH, CARGO_BUILD_RUSTC_WRAPPER, RUSTC_WRAPPER, and MAKEFLAGS. Attackers can inject malicious build tool environment variables to influence host exec commands and achieve arbitrary code execution.
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/d7c3210cd6f5fdfdc1beff4c9541673e814354d5
- github.com/openclaw/openclaw/security/advisories/GHSA-7437-7hg8-frrw
- www.vulncheck.com/advisories/openclaw-remote-code-execution-via-build-tool-environment-var
- github.com/advisories/GHSA-7437-7hg8-frrw
- nvd.nist.gov/vuln/detail/CVE-2026-42427
- cve.org/CVERecord?id=CVE-2026-42427
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.