GHSA-xpr6-2hgm-4wwp

Suggest an improvement
Source
https://github.com/advisories/GHSA-xpr6-2hgm-4wwp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-xpr6-2hgm-4wwp/GHSA-xpr6-2hgm-4wwp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-xpr6-2hgm-4wwp
Downstream
Withdrawn
2026-05-18T15:31:18Z
Published
2026-05-11T18:31:47Z
Modified
2026-05-18T15:50:05Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • 8.4 (High) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: OpenClaw vulnerable to arbitrary code execution via attacker-controlled setup-api.js loaded from cwd during env-key resolution
Details

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//setup-api.js file in a repository and convincing a user to run OpenClaw commands from that directory.

Database specific
{
    "cwe_ids":  [
        "CWE-427"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-05-18T15:31:18Z",
    "nvd_published_at":  "2026-05-11T18:16:40Z",
    "severity":  "HIGH"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2026.4.23

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/05/GHSA-xpr6-2hgm-4wwp/GHSA-xpr6-2hgm-4wwp.json"