Skip to content

CVE-2026-45004 OpenClaw < 2026.4.23 - Arbitrary Code Execution via setup-api.js in Current Working Directory

HighCVSS 8.4 EPSS 0.20%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
npm openclaw < 2026.4.23 2026.4.23 Fixed
npm openclaw(npm) < 2026.4.23 2026.4.23 Fixed
openclaw < 2026.4.23 2026.4.23 Fixed

Affected products

ProductAffected versionsFixed in
npm openclaw < 2026.4.23 2026.4.23
npm openclaw(npm) < 2026.4.23 2026.4.23
openclaw < 2026.4.23 2026.4.23

References