Advisory details:
github_osv / GHSA-xpr6-2hgm-4wwp
| Advisory ID | github_osv/GHSA-xpr6-2hgm-4wwp |
| Aliases | |
| Summary | Duplicate Advisory: OpenClaw vulnerable to arbitrary code execution via attacker-controlled setup-api.js loaded from cwd during env-key resolution ### 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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 7.6 |
| Risk | 3.8 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| CWE-427 | Uncontrolled Search Path Element |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 7.8 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-xpr6-2hgm-4wwp/GHSA-xpr6-2hgm-4wwp.json |
| cvssv4 | 8.4 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-xpr6-2hgm-4wwp/GHSA-xpr6-2hgm-4wwp.json |
| generic_textual | HIGH |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/openclaw/openclaw | ||
| 993781e6e6eaf50f033cfc3e3bf4f47059740707 | Other | https://github.com/openclaw/openclaw/commit/993781e6e6eaf50f033cfc3e3bf4f47059740707 |
| CVE-2026-45004 | https://nvd.nist.gov/vuln/detail/CVE-2026-45004 | |
| GHSA-r39h-4c2p-3jxp | Advisory | https://github.com/openclaw/openclaw/security/advisories/GHSA-r39h-4c2p-3jxp |
| openclaw-arbitrary-code-execution-via-setup-api-js-in-current-working-directory | Advisory | https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-setup-api-js-in-current-working-directory |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Attack Requirements (AT) | Privileges Required (PR) | User Interaction (UI) | Vulnerable System Impact Confidentiality (VC) | Vulnerable System Impact Integrity (VI) | Vulnerable System Impact Availability (VA) | Subsequent System Impact Confidentiality (SC) | Subsequent System Impact Integrity (SI) | Subsequent System Impact Availability (SA) |
|---|---|---|---|---|---|---|---|---|---|---|
network adjacent local physical |
low high |
none present |
none low high |
none passive active |
high low none |
high low none |
high low none |
high low none |
high low none |
high low none |
There are no SSVC decisions available.