Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-q284-4pvr-m585

Опубликовано: 02 фев. 2026
Источник: github
Github: Прошло ревью
CVSS3: 7.7

Описание

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.

Пакеты

Наименование

clawdbot

npm
Затронутые версииВерсия исправления

< 2026.1.29

2026.1.29

EPSS

Процентиль: 5%
0.00021
Низкий

7.7 High

CVSS3

Дефекты

CWE-78

Связанные уязвимости

CVSS3: 7.7
nvd
3 дня назад

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.

EPSS

Процентиль: 5%
0.00021
Низкий

7.7 High

CVSS3

Дефекты

CWE-78