| Advisory ID | github_osv/GHSA-q284-4pvr-m585 |
| Aliases |
CVE-2026-25157
|
| Summary | 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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 6.9 |
| Risk | 3.5 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 7.7 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-q284-4pvr-m585/GHSA-q284-4pvr-m585.json |
| generic_textual | HIGH |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/openclaw/openclaw | ||
| CVE-2026-25157 | https://nvd.nist.gov/vuln/detail/CVE-2026-25157 | |
| GHSA-q284-4pvr-m585 | https://github.com/openclaw/openclaw/security/advisories/GHSA-q284-4pvr-m585 |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Vector: SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-02-05T14:23:09Z/
Decision: Track
Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2026/25xxx/CVE-2026-25157.json
Source Advisory: vulnrichment/CVE-2026-25157
[{'Exploitation': 'none'},
{'Automatable': 'no'},
{'Technical Impact': 'total'},
{'Mission Prevalence': 'minimal'},
{'Public Well-being Impact': 'material'},
{'Mission & Well-being': 'medium'}]