Skip to main content

Openclaw cli: OpenClaw affected by iMessage remote attachment SCP hardening (strict host-key checks and remoteHost validation)

0
High
Published: 08/13/2026 (08/13/2026, 17:21:32 UTC)
Source: GCVE Database
Product: openclaw-cli

Description

OpenClaw CLI versions up to 2026.2.17 are affected by a vulnerability in the handling of remote iMessage attachments fetched via SCP. The issue stems from using trust-on-first-use host-key behavior and lack of strict validation of remote host tokens, which could allow a man-in-the-middle or DNS poisoning attack on first connection. The vulnerability is mitigated by enforcing strict SSH host key checking, validating remote host tokens, and adding argument barriers to SCP commands. A fix is available in versions 2026.2.19 and later.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Affected software

Homebrewmore threats →ghsa
openclaw-cli
pkg:brew/openclaw-cli
Affected versions
<2026.7.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/04/2026, 13:16:33 UTC

Technical Analysis

OpenClaw CLI's remote iMessage attachment fetching used SCP with 'StrictHostKeyChecking=accept-new' and did not strictly validate the 'channels.imessage.remoteHost' token. This allowed a first-connection MITM or DNS poisoning attack to cause acceptance of an incorrect SSH host key, potentially altering SCP argument semantics. The vulnerability affects versions up to 2026.2.17 and is fixed in 2026.2.19 by requiring 'StrictHostKeyChecking=yes', adding strict remoteHost normalization and validation, introducing an argument barrier in SCP parsing, and rejecting unsafe host tokens at runtime.

Potential Impact

An attacker capable of performing a man-in-the-middle or DNS poisoning attack during the initial SCP connection could cause the client to trust a malicious SSH host key. This could lead to unauthorized access or manipulation of remote iMessage attachments fetched via SCP. Unsafe remote host tokens could also alter SCP command arguments, potentially impacting the integrity of the attachment fetching process.

Mitigation Recommendations

A patch is available and should be applied by upgrading OpenClaw CLI to version 2026.2.19 or later. The fix enforces strict SSH host key checking and validates remote host tokens to prevent trust-on-first-use vulnerabilities. Users should update to the patched version to mitigate this issue.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
BREW-openclaw-cli-GHSA-2mc2-g238-722j
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
4.0

Threat ID: 6ac245d312601ec6a3168010

Added to database: 10/04/2026, 12:25:55 UTC

Last enriched: 10/04/2026, 13:16:33 UTC

Last updated: 10/04/2026, 13:16:33 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses