CVE-2026-25157CWE-78

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

High · published February 4, 2026

CVSS v3.1
7.8
EPSS
1%
Percentile
64.5
In the wild
Unconfirmed
What it is

⚡ A crafty command injection vulnerability lurks in OpenClaw versions before 2026.1.29! An attacker can exploit this to run arbitrary commands on your remote SSH host—yikes! 🔥 Think of it like a restaurant where the chef misreads a customer’s special request and inadvertently adds extra ingredients that spoil the dish. Instead of serving an order, they end up cooking something entirely different—and potentially dangerous! With this vulnerability, an attacker could take control of your remote SSH host, executing any command they desire. This means they could read sensitive data, manipulate files, or even disable services, leading to devastating consequences for your system!

Put simply

Think of it like a restaurant where the chef misreads a customer’s special request and inadvertently adds extra ingredients that spoil the dish. Instead of serving an order, they end up cooking something entirely different—and potentially dangerous! This OS command injection vulnerability occurs because the sshNodeCommand function doesn't properly escape user-supplied project paths when generating shell scripts. Additionally, the parseSSHTarget function allows attacker-controlled strings that could be misinterpreted as SSH configuration flags, enabling arbitrary command execution on the local machine.

What to do

With this vulnerability, an attacker could take control of your remote SSH host, executing any command they desire. This means they could read sensitive data, manipulate files, or even disable services, leading to devastating consequences for your system! To protect your systems, immediately update OpenClaw to version 2026.1.29. Review your project paths and SSH targets to ensure they're sanitized and free from any malicious input. Regularly audit your systems for any unauthorized commands to maintain security. You've got this! Follow these steps, and you’ll have your defenses up in no time! 🛡️

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01067 · 64.5th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-02-04T19:55Z
EPSS history
Timeline
  • 04 FEB 19:55Z
    OpenClaw/Clawdbot has OS Command Injection via Project Root Path in sshNodeCommand
    cvelistv5