Skip to content
HighVulnerability

CVE-2026-25157: OpenClaw OS command injection through project root path in sshNodeCommand

Identifier
CVE-2026-25157
Published
Record updated
View JSON
Affected
  • clawdbot < 2026.1.29
Fixed in
2026.1.29
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.1%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

OpenClaw, a personal AI assistant, has two OS command injection flaws before version 2026.1.29. In sshNodeCommand, an unescaped project root path was interpolated into an echo statement when cd failed, enabling arbitrary command execution on the remote SSH host. Separately, parseSSHTarget did not reject SSH target strings beginning with a dash, so a value like -oProxyCommand=... was parsed as an SSH flag, enabling arbitrary command execution on the local machine.

Mitigation

Fixed in 2026.1.29.