Home / OpenClaw / OpenClaw / CVE-2026-42427
CVE-2026-42427: is it exploited, and which versions of OpenClaw are affected and fixed?
CVE-2026-42427 is an incomplete List of Disallowed Inputs vulnerability in OpenClaw. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: openclaw before 2026.4.8 (GitHub advisory GHSA-7437-7hg8-frrw). Fixed in 2026.4.8 (GitHub advisory GHSA-7437-7hg8-frrw). Severity: Medium (5.8, CVSS 4.0, from VulnCheck).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:11 UTC.
What is CVE-2026-42427?
OpenClaw < 2026.4.8 - Remote Code Execution via Build Tool Environment Variable Injection
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.
From the CVE record by VulnCheck, last updated April 29, 2026, 15:10 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| OpenClaw | OpenClaw | before 2026.4.8 | 2026.4.8 |
As the CVE record by VulnCheck states it, last updated April 29, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | openclaw | < 2026.4.8 | 2026.4.8 | GHSA-7437-7hg8-frrw |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 28, 2026. Summary: OpenClaw: HGRCPATH, CARGO_BUILD_RUSTC_WRAPPER, RUSTC_WRAPPER, and MAKEFLAGS missing from exec env denylist — RCE via build tool env injection (GHSA-cm8v-2vh9-cxf3 class).
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openclaw | openclaw | before 2026.4.8 | application |
NVD analysis (status Analyzed), last modified November 11, 2026, 21:10 UTC.
How severe is CVE-2026-42427?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.8 | CVSS 4.0 | CVSS:4.0/AV:L/AC:H/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N | VulnCheck |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N | VulnCheck |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-42427 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, April 29, 2026)
- EPSS
- 0.19% probability of exploitation activity in the next 30 days, percentile 9.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-184 Incomplete List of Disallowed Inputs
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
Where are the vendor advisories and references?
- GitHub Security Advisory (GHSA-7437-7hg8-frrw) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.4.8 - Remote Code Execution via Build Tool Environment Variable Injection third-party-advisory
Who found and reported it?
- boyhack (@boy-hack) (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 27, 2026
- Published
- April 28, 2026, 18:10 UTC
- CVE record updated
- April 29, 2026, 15:10 UTC by VulnCheck
- NVD
- Analyzed, last modified November 11, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:11 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect OpenClaw?
- Sep 29, 2026CVE-2026-102807 OpenClaw: incorrect authorization
- Sep 29, 2026CVE-2026-102806 OpenClaw: incorrect authorization
- Sep 26, 2026CVE-2026-100599 OpenClaw: OS command injection
- Sep 26, 2026CVE-2026-100598 OpenClaw: origin not validated
- Sep 26, 2026CVE-2026-100597 OpenClaw: time-of-check time-of-use race condition
- Sep 26, 2026CVE-2026-100596 OpenClaw: missing authorization
- Sep 26, 2026CVE-2026-100595 OpenClaw: information disclosure
- Sep 26, 2026CVE-2026-100594 OpenClaw: information disclosure
Questions about CVE-2026-42427
Is CVE-2026-42427 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.19% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of OpenClaw are affected by CVE-2026-42427?
openclaw before 2026.4.8, per the GitHub advisory GHSA-7437-7hg8-frrw. The tables above give every range the sources list.
Which version fixes CVE-2026-42427?
2026.4.8, per the GitHub advisory GHSA-7437-7hg8-frrw. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-42427?
Medium (5.8, CVSS 4.0, from VulnCheck). The severity table above shows each score with its source.
Where is the official record of CVE-2026-42427?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.