CVE-2026-45004: OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2026-45004?
CVE-2026-45004 is classified as a high severity vulnerability due to its potential for arbitrary code execution.
How do I fix CVE-2026-45004?
To fix CVE-2026-45004, update OpenClaw to version 2026.4.23 or later.
What type of vulnerability is CVE-2026-45004?
CVE-2026-45004 is an arbitrary code execution vulnerability.
Which versions of OpenClaw are affected by CVE-2026-45004?
OpenClaw versions before 2026.4.23 are affected by CVE-2026-45004.
What is the cause of CVE-2026-45004?
CVE-2026-45004 is caused by the loading of the setup-api.js file from the current working directory during provider setup metadata resolution.