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.
Problem types
Uncontrolled Search Path Element
Product status
Any version before 2026.4.23
2026.4.23 (semver)
Credits
Mirr2
References
github.com/...enclaw/security/advisories/GHSA-r39h-4c2p-3jxp (GitHub Security Advisory (GHSA-r39h-4c2p-3jxp))
github.com/...ommit/993781e6e6eaf50f033cfc3e3bf4f47059740707 (Patch Commit)
www.vulncheck.com/...tup-api-js-in-current-working-directory (VulnCheck Advisory: OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory)