Home

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.

PUBLISHED Reserved 2026-05-08 | Published 2026-05-11 | Updated 2026-05-11 | Assigner VulnCheck




HIGH: 8.4CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

HIGH: 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Problem types

Uncontrolled Search Path Element

Product status

Default status
unaffected

Any version before 2026.4.23
affected

2026.4.23 (semver)
unaffected

Credits

Mirr2 reporter

References

github.com/...enclaw/security/advisories/GHSA-r39h-4c2p-3jxp (GitHub Security Advisory (GHSA-r39h-4c2p-3jxp)) vendor-advisory

github.com/...ommit/993781e6e6eaf50f033cfc3e3bf4f47059740707 (Patch Commit) patch

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) third-party-advisory

cve.org (CVE-2026-45004)

nvd.nist.gov (CVE-2026-45004)

Download JSON