CVE-2026-45004
HIGH 8.4CVSS 4.0OpenClaw vulnerable to arbitrary code execution via attacker-controlled setup-api.js loaded from cwd during env-key resolution
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.
- Published
- 11 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Analyzed
- Weakness
- CWE-427CWE-94
- Also known as
- GHSA-r39h-4c2p-3jxp
- Sources
- NVDJSONOSV GHSA-r39h-4c2p-3jxpJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | HIGH 8.4 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openclaw | openclawcpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* |
< 2026.4.23 | 2026.4.23 |
| OSV | npm | openclaw | < 2026.4.23 | 2026.4.23 |
References
- https://github.com/openclaw/openclaw/commit/993781e6e6eaf50f033cfc3e3bf4f47059740707 · Patch, WEB
- https://github.com/openclaw/openclaw/security/advisories/GHSA-r39h-4c2p-3jxp · Third Party Advisory, WEB
- https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-setup-api-js-in-current-working-directory · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45004 · ADVISORY
- https://github.com/openclaw/openclaw · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 11 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 5 May 2026)