highCVSS 7.8Vulnerability
GHSA-xpr6-2hgm-4wwp
### Duplicate Advisory This advisory has been withdrawn because it is a duplicate of GHSA-r39h-4c2p-3jxp. This link is maintained to preserve external references. ### Original 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.
Properties
- ghsa_id
- GHSA-xpr6-2hgm-4wwp
- summary
- Duplicate Advisory: OpenClaw vulnerable to arbitrary code execution via attacker-controlled setup-api.js loaded from cwd during env-key resolution
- severity
- high
- cvss_score
- 7.8
- cve_id
- GHSA-xpr6-2hgm-4wwp
- cvss_vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- is_ghsa_only
- true
- ghsa_published
- 2026-05-11T18:31:47Z
- source_url
- https://github.com/advisories/GHSA-xpr6-2hgm-4wwp
- ghsa_updated
- 2026-05-18T15:31:19Z
Related Entities (4)
AFFECTS (1)
→[Software]npm/OpenClaw
VULNERABLE_TO (1)
←[Software]npm/OpenClaw
HAS_WEAKNESS (1)
→[Weakness]Uncontrolled Search Path Element
REPORTED_BY (1)
→[Source]GitHub Advisory Database
Explore deeper with Ninja Signal's threat intelligence graph