Uncontrolled Search Path Element
CVE-2026-45004
Summary
OpenClaw prior to 2026.4.23-beta.1 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.
- LOW
- LOCAL
- HIGH
- UNCHANGED
- REQUIRED
- NONE
- HIGH
- HIGH
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.
Advisory Timeline
- Published