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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-41373— OpenClaw < 2026.3.31 - Compiler Binary Substitution via Environment Variable Override in Host Execution Policy

Quick assessment

Affected
OpenClaw OpenClaw
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

OpenClaw是OpenClaw开源的一个智能人工助理。 OpenClaw 2026.3.31之前版本存在代码问题漏洞,该漏洞源于不完整的host-env-security-policy.json未能限制编译器二进制环境变量,允许不受信任的模型通过环境覆盖替换CC、CXX、CARGO_BUILD_RUSTC和CMAKE_C_COMPILER。具有批准的主机执行请求的攻击者可以在构建过程中覆盖编译器二进制文件以执行任意代码。

CVSS 6.1 · Medium EPSS 0.18% · P7

Affected Version Matrix 2

VendorProduct Version RangeStatus
OpenClaw OpenClaw < 2026.3.31 affected
2026.3.31 unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-41373

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.3.31 - Compiler Binary Substitution via Environment Variable Override in Host Execution Policy
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
对搜索路径元素未加控制
Source: CVE Program / CVE List V5
Vulnerability Title
OpenClaw 代码问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
OpenClaw是OpenClaw开源的一个智能人工助理。 OpenClaw 2026.3.31之前版本存在代码问题漏洞,该漏洞源于不完整的host-env-security-policy.json未能限制编译器二进制环境变量,允许不受信任的模型通过环境覆盖替换CC、CXX、CARGO_BUILD_RUSTC和CMAKE_C_COMPILER。具有批准的主机执行请求的攻击者可以在构建过程中覆盖编译器二进制文件以执行任意代码。
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

Vendor Product Affected Versions CPE Subscribe
OpenClaw OpenClaw 0 ~ 2026.3.31 -

II. Public POCs for CVE-2026-41373

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-41373

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-41373 (1)

Vendor Advisories for CVE-2026-41373 (2)

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

CVE-2026-41386 9.1 CRITICAL OpenClaw < 2026.3.22 - Privilege Escalation via Unbound Bootstrap Setup Codes
CVE-2026-41404 8.8 HIGH OpenClaw < 2026.3.31 - Operator Admin Privilege Escalation via Trusted-Proxy Authenticatio
CVE-2026-42426 8.8 HIGH OpenClaw < 2026.4.8 - Improper Authorization in node.pair.approve via operator.write Scope
CVE-2026-42422 8.8 HIGH OpenClaw < 2026.4.8 - Role Bypass in device.token.rotate Function
CVE-2026-41378 8.8 HIGH OpenClaw < 2026.3.31 - Privilege Escalation to Remote Code Execution via Unrestricted node
CVE-2026-41914 8.5 HIGH OpenClaw < 2026.4.8 - Server-Side Request Forgery in QQ Bot Media Fetch Paths
CVE-2026-41394 8.2 HIGH OpenClaw < 2026.3.31 - Unauthorized Operator Scope Access in Unauthenticated Plugin-Auth R
CVE-2026-41383 8.1 HIGH OpenClaw < 2026.4.2 - Arbitrary Remote Directory Deletion via Mis-scoped Mirror Mode Paths
CVE-2026-42431 8.1 HIGH OpenClaw < 2026.4.8 - Persistent Profile Mutation via node.invoke(browser.proxy) Bypass
CVE-2026-41396 7.8 HIGH OpenClaw < 2026.3.31 - Environment Variable Override of Plugin Trust Root
CVE-2026-41387 7.8 HIGH OpenClaw < 2026.3.22 - Supply Chain Redirection via Incomplete Host Environment Sanitizati
CVE-2026-42432 7.8 HIGH OpenClaw < 2026.4.8 - Command Escalation via Node Pairing Reconnect Bypass
CVE-2026-41384 7.8 HIGH OpenClaw < 2026.3.24 - Environment Variable Injection via Workspace Config in CLI Backend
CVE-2026-41912 7.6 HIGH OpenClaw < 2026.4.8 - Server-Side Request Forgery Policy Bypass via Interaction-Triggered
CVE-2026-41395 7.5 HIGH OpenClaw < 2026.3.28 - Webhook Replay via Query Parameter Reordering in Plivo V3
CVE-2026-41399 7.5 HIGH OpenClaw < 2026.3.28 - Denial of Service via Unbounded Pre-auth WebSocket Upgrades
CVE-2026-41405 7.5 HIGH OpenClaw < 2026.3.31 - Resource Exhaustion via Unauthenticated MS Teams Webhook Body Parsi
CVE-2026-42423 7.5 HIGH OpenClaw < 2026.4.8 - strictInlineEval Approval Boundary Bypass via Approval-Timeout Fallb
CVE-2026-41390 7.3 HIGH OpenClaw < 2026.3.28 - Exec Allowlist Bypass via Unregistered /usr/bin/script Wrapper
CVE-2026-41380 7.3 HIGH OpenClaw < 2026.3.28 - Arbitrary Execution Allowlist via Wrapper Carrier Executables

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-41373

No comments yet


Leave a comment