CVE-2026-45004
published high CVSS 4.0 · 8.4OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| OpenClaw | — | OpenClaw0 to < 2026.4.23 (affected · semver) · 2026.4.23 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| OpenClaw | OpenClaw | 0 to < 2026.4.23 (affected · semver)2026.4.23 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-427 Uncontrolled Search Path Element
References
3- Patch Commit https://github.com/openclaw/openclaw/commit/993781e6e6eaf50f033cfc3e3bf4f47059740707
- GitHub Security Advisory (GHSA-r39h-4c2p-3jxp) https://github.com/openclaw/openclaw/security/advisories/GHSA-r39h-4c2p-3jxp
- VulnCheck Advisory: OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-setup-api-js-in-current-working-directory
Provider assertions
2VulnCheck · cna
OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9d2db12228532d41678704fbe84b21bc7008607aeeb33ca5203f67980144982b
- Ingested
- 23 Sep 2026, 09:15:36 UTC
- Source record
- Official CVE record