CVE-2026-25157Openclaw
High 7.5
Follow: this CVE · Openclaw · Openclaw We alert you by email or Slack (account required).
- Priority
- 45
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- Yes
- Published
- Feb 4, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Openclaw.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | clawdbot |
< 2026.1.29 |
2026.1.29 |
npm install clawdbot@2026.1.29 |
Per OSV / GitHub Advisories (GHSA-q284-4pvr-m585). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openclaw | openclaw | < 2026.1.29 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory