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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenClaw | OpenClaw | < 2026.4.23 | 2026.4.23 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | openclaw | < 2026.4.23 | 2026.4.23 | GHSA-r39h-4c2p-3jxp |
Advisories 1
- WID-SEC-2026-1280 OpenClaw: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
References
- GitHub Security Advisory (GHSA-r39h-4c2p-3jxp) vendor-advisory
- Patch Commit patch
- VulnCheck Advisory: OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory third-party-advisory