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.
References
| Link | Resource |
|---|---|
| https://github.com/openclaw/openclaw/commit/993781e6e6eaf50f033cfc3e3bf4f47059740707 | Patch |
| https://github.com/openclaw/openclaw/security/advisories/GHSA-r39h-4c2p-3jxp | Third Party Advisory |
| https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-setup-api-js-in-current-working-directory | Patch Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-05-11 18:16
Updated : 2026-06-17 10:51
NVD link : CVE-2026-45004
Mitre link : CVE-2026-45004
CVE.ORG link : CVE-2026-45004
JSON object : View
Products Affected
openclaw
- openclaw
CWE
CWE-427
Uncontrolled Search Path Element
