Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2026-42427— OpenClaw < 2026.4.8 - Remote Code Execution via Build Tool Environment Variable Injection

CVSS 5.3 · Medium EPSS 0.03% · P9
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-42427

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OpenClaw < 2026.4.8 - Remote Code Execution via Build Tool Environment Variable Injection
Source: NVD (National Vulnerability Database)
Vulnerability Description
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.
Source: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:H/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
不完整的黑名单
Source: NVD (National Vulnerability Database)
Vulnerability Title
OpenClaw 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OpenClaw是OpenClaw开源的一个智能人工助理。 OpenClaw 2026.4.8之前版本存在安全漏洞,该漏洞源于缺少HGRCPATH、CARGO_BUILD_RUSTC_WRAPPER、RUSTC_WRAPPER和MAKEFLAGS的环境变量黑名单条目,可能导致攻击者注入恶意构建工具环境变量影响主机执行命令并实现任意代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
OpenClawOpenClaw 0 ~ 2026.4.8 -

II. Public POCs for CVE-2026-42427

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42427

登录查看更多情报信息。

Same Patch Batch · OpenClaw · 2026-04-28 · 53 CVEs total

CVE-2026-413869.1 CRITICALOpenClaw < 2026.3.22 - Privilege Escalation via Unbound Bootstrap Setup Codes
CVE-2026-414048.8 HIGHOpenClaw < 2026.3.31 - Operator Admin Privilege Escalation via Trusted-Proxy Authenticatio
CVE-2026-413788.8 HIGHOpenClaw < 2026.3.31 - Privilege Escalation to Remote Code Execution via Unrestricted node
CVE-2026-424268.8 HIGHOpenClaw < 2026.4.8 - Improper Authorization in node.pair.approve via operator.write Scope
CVE-2026-424228.8 HIGHOpenClaw < 2026.4.8 - Role Bypass in device.token.rotate Function
CVE-2026-419148.5 HIGHOpenClaw < 2026.4.8 - Server-Side Request Forgery in QQ Bot Media Fetch Paths
CVE-2026-413948.2 HIGHOpenClaw < 2026.3.31 - Unauthorized Operator Scope Access in Unauthenticated Plugin-Auth R
CVE-2026-413838.1 HIGHOpenClaw < 2026.4.2 - Arbitrary Remote Directory Deletion via Mis-scoped Mirror Mode Paths
CVE-2026-424318.1 HIGHOpenClaw < 2026.4.8 - Persistent Profile Mutation via node.invoke(browser.proxy) Bypass
CVE-2026-413847.8 HIGHOpenClaw < 2026.3.24 - Environment Variable Injection via Workspace Config in CLI Backend
CVE-2026-413967.8 HIGHOpenClaw < 2026.3.31 - Environment Variable Override of Plugin Trust Root
CVE-2026-413877.8 HIGHOpenClaw < 2026.3.22 - Supply Chain Redirection via Incomplete Host Environment Sanitizati
CVE-2026-424327.8 HIGHOpenClaw < 2026.4.8 - Command Escalation via Node Pairing Reconnect Bypass
CVE-2026-419127.6 HIGHOpenClaw < 2026.4.8 - Server-Side Request Forgery Policy Bypass via Interaction-Triggered
CVE-2026-413997.5 HIGHOpenClaw < 2026.3.28 - Denial of Service via Unbounded Pre-auth WebSocket Upgrades
CVE-2026-414057.5 HIGHOpenClaw < 2026.3.31 - Resource Exhaustion via Unauthenticated MS Teams Webhook Body Parsi
CVE-2026-424237.5 HIGHOpenClaw < 2026.4.8 - strictInlineEval Approval Boundary Bypass via Approval-Timeout Fallb
CVE-2026-413957.5 HIGHOpenClaw < 2026.3.28 - Webhook Replay via Query Parameter Reordering in Plivo V3
CVE-2026-413807.3 HIGHOpenClaw < 2026.3.28 - Arbitrary Execution Allowlist via Wrapper Carrier Executables
CVE-2026-413907.3 HIGHOpenClaw < 2026.3.28 - Exec Allowlist Bypass via Unregistered /usr/bin/script Wrapper

Showing top 20 of 53 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2026-42427

No comments yet


Leave a comment