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

- Severity: High 8.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-05-05T18:43:44.000Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-r39h-4c2p-3jxp
- Weaknesses: CWE-94, CWE-427
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- OpenClaw OpenClaw: before 2026.4.23 (not affected: 2026.4.23)
- openclaw (npm): before 2026.4.23

## Every score

- VulnCheck: CVSS:4.0 8.4 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/openclaw/openclaw/security/advisories/GHSA-r39h-4c2p-3jxp> (third-party-advisory, vendor-advisory, web)
- <https://github.com/openclaw/openclaw/commit/993781e6e6eaf50f033cfc3e3bf4f47059740707> (patch, 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)

## Sources

- CVE List: [CVE-2026-45004](https://www.cve.org/CVERecord?id=CVE-2026-45004), CVE Terms of Use, modified 2026-05-11
- GitHub Advisory Database: [GHSA-r39h-4c2p-3jxp](https://github.com/advisories/GHSA-r39h-4c2p-3jxp), CC-BY-4.0, modified 2026-05-19
- NVD: [CVE-2026-45004](https://nvd.nist.gov/vuln/detail/CVE-2026-45004), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-45004 · Whole record: https://cve.day/CVE-2026-45004.json · Rebuilt by cve.day 2026-11-25T22:59:21.239Z
