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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-45004— OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory

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.4.23之前版本存在代码问题漏洞,该漏洞源于捆绑插件设置解析器从process.cwd()加载setup-api.js,可能导致攻击者在当前用户账户下执行任意JavaScript。攻击者可通过在仓库中放置恶意extensions/<plugin>/setup-api.js文件并诱使用户从该目录运行OpenClaw命令来利用此漏洞。

CVSS 7.8 · High EPSS 0.20% · P9

Affected Version Matrix 2

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

I. Basic Information for CVE-2026-45004

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.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory
Source: CVE Program / CVE List V5
Vulnerability Description
OpenClaw before 2026.4.23 contains an arbitrary code execution vulnerability in the bundled plugin setup resolver that loads setup-api.js from process.cwd() during provider setup metadata resolution. Attackers can execute arbitrary JavaScript under the current user account by placing a malicious extensions/<plugin>/setup-api.js file in a repository and convincing a user to run OpenClaw commands from that directory.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
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.4.23之前版本存在代码问题漏洞,该漏洞源于捆绑插件设置解析器从process.cwd()加载setup-api.js,可能导致攻击者在当前用户账户下执行任意JavaScript。攻击者可通过在仓库中放置恶意extensions/<plugin>/setup-api.js文件并诱使用户从该目录运行OpenClaw命令来利用此漏洞。
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.4.23 -

II. Public POCs for CVE-2026-45004

# 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-45004

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

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

Vendor Advisories for CVE-2026-45004 (2)

Same Patch Batch · OpenClaw · 2026-05-11 · 18 CVEs total

CVE-2026-45223 8.8 HIGH Crabbox < 0.9.0 Authentication Bypass via Admin Claim Injection
CVE-2026-45006 8.8 HIGH OpenClaw < 2026.4.23 - Unsafe Config Mutation via Gateway Tool Denylist Bypass
CVE-2026-44995 7.3 HIGH OpenClaw < 2026.4.20 - Arbitrary Code Execution via MCP stdio Environment Variables
CVE-2026-45001 7.1 HIGH OpenClaw < 2026.4.20 - Gateway Config Mutation Guard Bypass via Agent Tool Access
CVE-2026-45224 7.1 HIGH Crabbox < 0.9.0 Path Traversal via Islo Provider Workspace Resolution
CVE-2026-45005 6.0 MEDIUM OpenClaw < 2026.4.23 - Webhook Route Secret Cache Not Invalidated After Rotation
CVE-2026-44993 5.4 MEDIUM OpenClaw < 2026.4.20 - Direct Message Misclassification in Feishu Card Actions
CVE-2026-44998 5.4 MEDIUM OpenClaw < 2026.4.20 - Tool Policy Bypass via Bundled MCP/LSP Tools
CVE-2026-44999 5.3 MEDIUM OpenClaw < 2026.4.20 - Improper Trust Labeling in Isolated Cron Awareness Events
CVE-2026-44994 5.3 MEDIUM OpenClaw < 2026.4.22 - Authentication Bypass in Gateway Control UI Bootstrap Config Endpoi
CVE-2026-45002 5.3 MEDIUM OpenClaw < 2026.4.20 - Hook Session-Key Bypass via Template Mapping
CVE-2026-45000 5.0 MEDIUM OpenClaw < 2026.4.20 - Server-Side Request Forgery via Browser CDP Profile Creation
CVE-2026-45003 5.0 MEDIUM OpenClaw < 2026.4.22 - Connector Endpoint Host Override via Workspace dotenv Files
CVE-2026-44992 5.0 MEDIUM OpenClaw 2026.4.5 through 2026.4.19 - MiniMax API Host Override via Workspace dotenv
CVE-2026-44997 4.3 MEDIUM OpenClaw < 2026.4.22 - Security Envelope Constraint Bypass in ACP Child Sessions
CVE-2026-44991 4.2 MEDIUM OpenClaw < 2026.4.21 - Authorization Bypass in Owner-Enforced Commands via Wildcard Channe
CVE-2026-44996 3.7 LOW OpenClaw < 2026.4.15 - Arbitrary Local File Read via Webchat Audio Embedding

IV. Related Vulnerabilities

V. Comments for CVE-2026-45004

No comments yet


Leave a comment