OpenClaw/Clawdbot has OS Command Injection via Project Root Path in sshNodeCommand
Two related vulnerabilities existed in the macOS application's SSH remote connection handling (CommandResolver.swift):
Details
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.
Impact
An attacker who can influence a user's remote connection settings (via social engineering or malicious configuration) could achieve arbitrary code execution on either the user's local machine or their configured remote SSH host, depending on which input vector is exploited.
Affected component: macOS menubar application (Remote/SSH mode only)
Not affected: CLI (npm install openclaw), web gateway, iOS/Android apps, or users running in Local mode.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Paquete de npm | clawdbot | < 2026.1.29 | 2026.1.29 |
Referencias
- Vector CVSS
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H- Debilidad (CWE)
CWE-78- Plataforma
- npm
- Paquete
clawdbot- Publicada
- 02.02.2026
- Actualizado
- 11.10.2026 10:22
Fuentes y licencias
OSV / GitHub Advisory Database - GHSA-q284-4pvr-m585 - CC BY 4.0
Historial de vulnerabilidades: clawdbot
Todas las vulnerabilidades publicadas de este paquete (Paquete de npm), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 11
- Primera → última
- 02.2026 02.2026
- Sin corrección
- 7
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 6
- Media 4
- Baja 1
Divulgaciones por año
- 2026: 11
-
OpenClaw/Clawdbot has OS Command Injection via Project Root Path in sshNodeCommand esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.