CVE-2026-45004

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

State
Published
Severity
8.4 High
Published
May 11, 2026
Updated
May 11, 2026
Reserved
May 8, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.4 HighCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HVulnCheck

Weaknesses

  • CWE-427 Uncontrolled Search Path Element

Affected Products

ProductVersions
OpenClawOpenClaw
  • before 2026.4.23Affected
  • 2026.4.23Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.