What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: OpenClaw 2026.4.23. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-45004 or the next vulnerability affects your stack