Read the docs
TI-2026-20319 Aliases CVE-2026-25157GHSA-q284-4pvr-m585

OpenClaw/Clawdbot has OS Command Injection via Project Root Path in sshNodeCommand

Priority LOW 38CWE-78Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.

Summary

OpenClaw is a personal AI assistant. Prior to version 2026.1.29, there is an OS command injection vulnerability via the Project Root Path in sshNodeCommand. The sshNodeCommand function constructed a shell script without properly escaping the user-supplied project path in an error message. When the cd command failed, the unescaped path was interpolated directly into an echo statement, allowing arbitrary command execution on the remote SSH host. The parseSSHTarget function did not validate that SSH target strings could not begin with a dash. An attacker-supplied target like -oProxyCommand=... would be interpreted as an SSH configuration flag rather than a hostname, allowing arbitrary command execution on the local machine. This issue has been patched in version 2026.1.29.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01051 64th percentileScored 2026-11-07
Fix Fixed openclaw (openclaw): 2026.1.29clawdbot (npm): 2026.1.29

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
OpenClawopenclawbefore 2026.1.292026.1.29Patch availableCNA
—clawdbot (npm)before 2026.1.292026.1.29Patch availableGHSA-q284-4pvr-m585
  • openclaw VendorOpenClaw Affected before 2026.1.29 Fixed in 2026.1.29 Patch available CNA
  • clawdbot (npm) Vendor— Affected before 2026.1.29 Fixed in 2026.1.29 Patch available GHSA-q284-4pvr-m585

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*before 2026.1.29VulnerableOpenClaw
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*not specified by NVDRunning onApple
  • cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* Versions before 2026.1.29 Vulnerable ·OpenClaw
  • cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Apple

Remediation

  • Fix · CNA openclaw (openclaw) Fixed in 2026.1.29
  • Fix · GHSA-q284-4pvr-m585 clawdbot (npm) Fixed in 2026.1.29 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-25157
  2. 2026-10-03 Alias added: GHSA-q284-4pvr-m585

References

  • TI-2026-25309 OpenClaw < 2026.3.28 Media Parsing Path Traversal to Arbitrary File Read CVSS 4.0HIGH 8.7
  • TI-2026-20394 Exposure of resource to wrong sphere in OpenClaw CVSS 3.1HIGH 8.8
  • TI-2026-27742 OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation CVSS 4.0HIGH 8.4
  • TI-2026-27766 OpenClaw < 2026.3.24 - Denial of Service via Feishu Webhook Pre-Auth Body Parsing CVSS 4.0MEDIUM 6.9
  • TI-2026-07315 OpenClaw bluebubbles Webhook monitor.ts handleBlueBubblesWebhookRequest improper authentication CVSS 4.0MEDIUM 6.9
  • TI-2026-17789 OpenClaw < 2026.2.22 - Allowlist Bypass via Command Substitution in system.run CVSS 4.0HIGH 7.5
See all 574 →

Sources