CVE-2026-25157
OpenClaw/Clawdbot has OS Command Injection via Project Root Path in sshNodeCommand
Description
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.
INFO
Published Date :
Feb. 4, 2026, 8:16 p.m.
Last Modified :
Feb. 13, 2026, 2:33 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update OpenClaw to version 2026.1.29.
- Apply patches for OpenClaw.
- Validate SSH target strings.
Public PoC/Exploit Available at Github
CVE-2026-25157 has a 19 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-25157.
| URL | Resource |
|---|---|
| https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585 | Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-25157 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-25157
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Security-hardened AI agent platform addressing OpenClaw/Moltbot vulnerabilities (CVE-2026-25253)
Dockerfile TypeScript JavaScript
Security-first AI agent for WhatsApp. Built as an answer to OpenClaw's architecture.
ai-agent llm openclaw prompt-injection python security typescript whatsapp
Dockerfile Python TypeScript Shell HTML
Tracking OpenClaw CVEs
Shell Python Jinja
None
Dockerfile Shell JavaScript TypeScript Swift HTML CSS Kotlin Ruby Go
None
TypeScript Dockerfile Swift Shell Kotlin Ruby HTML JavaScript Go Python
None
PowerShell Shell
Open-source infrastructure scanner for AI agents. Scan instances, audit skills.
Shell Makefile Python YARA
None
Python Dockerfile Makefile
Policy-as-code firewall for AI agents
llm openclaw security
Python HTML
None
TypeScript JavaScript HTML Dockerfile CSS
Krutaka is an open-source OpenClaw hardware project. Designed for precision and reliability, Krutaka executes every command without hesitation. This project aims to create a highly accurate and dependable mechanical system.
C#
🐾 ClawPilot — your OpenClaw copilot. Security-first agent skill for AI coding assistants. Supports 14+ chat platforms.
Shell
Trust-zone isolation for AI agents. Even if compromised, there's nothing to steal. 🛡️
Dockerfile Python Shell
Don't get pinched. Security audit toolkit for OpenClaw deployments. 63 checks across 8 categories.
Shell Python HTML JavaScript
Proactive security monitoring for OpenClaw deployments. Detects ClawHavoc, AMOS stealer, CVE-2026-25253, memory poisoning, and supply chain attacks.
HTML JavaScript Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-25157 vulnerability anywhere in the article.
-
Kaspersky
Key OpenClaw risks, Clawdbot, Moltbot | Kaspersky official blog
Everyone has likely heard of OpenClaw, previously known as “Clawdbot” or “Moltbot”, the open-source AI assistant that can be deployed on a machine locally. It plugs into popular chat platforms like Wh ... Read more
-
CybersecurityNews
15,200 OpenClaw Control Panels with Full System Access Exposed to the Internet
OpenClaw Control Panels Exposed A critical security failure in the rapidly adopting “agentic AI” ecosystem has left tens of thousands of personal and corporate AI assistants fully exposed to the publi ... Read more
-
The Register
More than 135,000 OpenClaw instances exposed to internet in latest vibe-coded disaster
It's a day with a name ending in Y, so you know what that means: Another OpenClaw cybersecurity disaster. This time around, SecurityScorecard's STRIKE threat intelligence team is sounding the alarm ov ... Read more
The following table lists the changes that have been made to the
CVE-2026-25157 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 13, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H Added CPE Configuration AND OR *cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:* versions up to (excluding) 2026.1.29 OR cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:* Added Reference Type GitHub, Inc.: https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585 Types: Vendor Advisory -
New CVE Received by [email protected]
Feb. 04, 2026
Action Type Old Value New Value Added Description 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. Added CVSS V3.1 AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H Added CWE CWE-78 Added Reference https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585