CVE-2026-45004 OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory
HighCVSS 8.4
EPSS 0.20%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.4.23 | 2026.4.23 | Fixed |
| npm openclaw(npm) | < 2026.4.23 | 2026.4.23 | Fixed |
| openclaw | < 2026.4.23 | 2026.4.23 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.4.23 | 2026.4.23 |
| npm openclaw(npm) | < 2026.4.23 | 2026.4.23 |
| openclaw | < 2026.4.23 | 2026.4.23 |
References
- GitHub Security Advisory (GHSA-r39h-4c2p-3jxp) third-party-advisory vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory patch third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product