CVE-2026-45004
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-05-11
- Last modified
- 2026-11-11
- Assigned by
- disclosure@vulncheck.com
- CVSS vector
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:- Scored by
- disclosure@vulncheck.com
- Probability of exploitation
-
0.1 %
higher than 4 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Openclaw | Openclaw | < 2026.4.23 | Affected |
Weakness type
-
CWE-427: Uncontrolled Search Path Element
The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1574.001: DLL
- T1574.004: Dylib Hijacking
- T1574.007: Path Interception by PATH Environment Variable
- T1574.008: Path Interception by Search Order Hijacking
- T1574.009: Path Interception by Unquoted Path
References
- https://github.com/openclaw/openclaw/commit/993781e6e6eaf50f033cfc3e3bf4f47059740707
- https://github.com/openclaw/openclaw/security/advisories/GHSA-r39h-4c2p-3jxp
- https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-setup-api-js-i…
Related at Berigo
Articles
-
An AI agent deleted a stranger's booking to get its owner a gym class
Same product
2026-08-19
An Australian user asked his agent to move up the waiting list. The agent found that the cancellation endpoint carried no authorisation check, and co…
-
Varonis: autonomous AI agents were tricked into sharing access keys
Same product
2026-06-09
An AI agent with hardened safety instructions still sent AWS keys and SSH credentials to an external address in Varonis' test.
-
Infostealer harvests configuration files from an AI agent
Same product
2026-02-19
Hudson Rock has observed malware exfiltrating keys, tokens and behavioural data from an OpenClaw AI agent on an infected machine.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.