SecurityContext

CVE-2026-45004: OpenClaw - Command Injection

  • Cve: CVE-2026-45004
  • Name: OpenClaw - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary JavaScript code under the current user account, potentially leading to full user account compromise.
  • Remediation: Update to version 2026.4.23 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: Attacker must place malicious setup-api.js and convince user to run OpenClaw commands from that directory
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00144
  • Epss percentile: 0.0365
  • Assignee: [email protected]
  • Published at: 2026-05-11T18:16:40Z
  • Age in days: 197
  • Modified at: 2026-11-11T20:10:00Z
  • Patch available: yes
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-45004
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-427Uncontrolled Search Path Element

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/openclaw/openclaw/commit/993781e6e6eaf50f033cfc3e3bf4f47059740707Patch
https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-setup-api-js-in-current-working-directoryPatch, Third Party Advisory
https://github.com/openclaw/openclaw/security/advisories/GHSA-r39h-4c2p-3jxpThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
openclaw:openclaw< 2026.4.23nonvd/v1/products/openclaw/openclaw

Projects

RepositoryLink kindsIndexedUrl
openclaw/openclawcommit, fix, package, security_advisoryyes/v1/repositories/openclaw/openclaw

Index

  • Repositories: 3
  • Repositories high signal: 3
  • Packages: 1

Exploitation

  • Exposed hosts: 28014
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports