CVE-2026-25157

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.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*

History

13 Feb 2026, 14:33

Type Values Removed Values Added
References () https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585 - () https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585 - Vendor Advisory
First Time Openclaw openclaw
Apple macos
Apple
Openclaw
CPE cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*
cpe:2.3:o:apple:macos:-:*:*:*:*:*:*:*

04 Feb 2026, 20:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-04 20:16

Updated : 2026-02-13 14:33


NVD link : CVE-2026-25157

Mitre link : CVE-2026-25157

CVE.ORG link : CVE-2026-25157


JSON object : View

Products Affected

openclaw

  • openclaw

apple

  • macos
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')