CVE-2026-45004
CVE-2026-45004 · OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 8.4 · High · EPSS 0.1% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
Original sources
- https://github.com/openclaw/openclaw/security/advisories/GHSA-r39h-4c2p-3jxp
- https://github.com/openclaw/openclaw/commit/993781e6e6eaf50f033cfc3e3bf4f47059740707
- https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-setup-api-js-in-current-working-directory
- https://nvd.nist.gov/vuln/detail/CVE-2026-45004