Security mailing lists by PureSourceCode

CVE-2026-42427

MEDIUM 5.8CVSS 4.0

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)

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.

Published
28 Apr 2026
Last modified
11 Nov 2026
Assigned by
disclosure@vulncheck.com
NVD status
Analyzed
Weakness
CWE-184CWE-78
Also known as
GHSA-7437-7hg8-frrw
Sources
NVDJSONOSV GHSA-7437-7hg8-frrwJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 MEDIUM 5.8 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD disclosure@vulncheck.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD openclaw openclaw
cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
< 2026.4.8 2026.4.8
OSV npm openclaw < 2026.4.8 2026.4.8

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 28 Apr 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 9 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.