CVE-2026-26320: OpenClaw macOS deep link confirmation truncation can conceal executed agent message
The OpenClaw macOS desktop client (2026.2.6 up to 2026.2.14) shows only the first 240 characters of an `openclaw://agent` deep-link message in its confirmation dialog, but runs the whole message after the user clicks Run. A web page can hide a malicious instruction behind whitespace padding. Upgrade to 2026.2.14.
Published Feb 17, 2026 · Updated Feb 20, 2026 · Analysis Nov 1, 2026
What an attacker can do
The macOS client registers the openclaw:// URL scheme. When a deep link starts the agent without an unattended key, the app asks "Run OpenClaw agent?" and previews the message. The preview was cut at 240 characters, while the agent received the full text. An attacker pads the start of the message with whitespace so the harmful part sits beyond the visible preview, for example in a link on a web page the victim opens.
The user approves what they think is a harmless request, and the agent runs a different one. What happens next depends on the user's configured tool approvals and allowlists. The advisory says it can lead to arbitrary command execution on the Mac. This needs a user click, so it is social engineering, and the CVSS 4.0 vector marks user interaction as passive. The macOS client is still in beta, according to the advisory.
Who is affected
The OpenClaw macOS desktop client from 2026.2.6 through 2026.2.13. The npm metadata lists openclaw as >= 2026.2.6-0, < 2026.2.14. Check the app version in its About window, or:
npm ls openclaw
openclaw --versionOther platforms that do not register the deep link are not described as affected.
openclaw
- Ecosystem
- npm
- Affected
- >= 2026.2.6-0, < 2026.2.14
- Fixed in
- 2026.2.14
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.2.14 or later. Commit 28d9dd7a772501ccc3f71457b4adfee79084fe6f makes unkeyed deep links enforce a strict message length limit for confirmation, and ignore the deliver, to and channel options unless a valid unattended key is supplied.
Until then, do not approve unexpected "Run OpenClaw agent?" prompts that appear while you browse untrusted sites, and use unattended deep links only with a valid key, for trusted personal automations.
How to tell if you were hit
Look at the agent's session history for runs started by an openclaw://agent link, particularly ones whose message begins with a long run of spaces or newlines. Review commands the agent ran around the time you opened an unfamiliar page. Beam records agent shell commands and its rules flag risky ones, which helps you spot what a hidden message made the agent do.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
OpenClaw macOS desktop client registers the openclaw:// URL scheme. For openclaw://agent deep links without an unattended key, the app shows a confirmation dialog that previously displayed only the first 240 characters of the message, but executed the full message after the user clicked "Run".
At the time of writing, the OpenClaw macOS desktop client is still in beta.
An attacker could pad the message with whitespace to push a malicious payload outside the visible preview, increasing the chance a user approves a different message than the one that is actually executed.
Impact
If a user runs the deep link, the agent may perform actions that can lead to arbitrary command execution depending on the user's configured tool approvals/allowlists. This is a social-engineering mediated vulnerability: the confirmation prompt could be made to misrepresent the executed message.
Affected Versions
- OpenClaw macOS desktop client versions >= 2026.2.6 and <= 2026.2.13.
Fixed Versions
- 2026.2.14.
Mitigations
- Do not approve unexpected "Run OpenClaw agent?" prompts triggered while browsing untrusted sites.
- Use unattended deep links only with a valid
keyfor trusted personal automations.
Resolution
Unkeyed deep links now enforce a strict message length limit for confirmation and ignore delivery/routing knobs (deliver, to, channel) unless a valid unattended key is provided.
Fix commit: 28d9dd7a772501ccc3f71457b4adfee79084fe6f
---
Fix commit 28d9dd7a772501ccc3f71457b4adfee79084fe6f confirmed on main and in v2026.2.14. Upgrade to openclaw >= 2026.2.14.
Credited to Cillian-Collins.
Questions
- Does this need user interaction?
Yes. The victim must open the deep link and click Run on the confirmation dialog. The flaw is that the dialog does not show the full message.
- What does the attacker gain?
They choose the message the agent runs. The advisory says this may lead to arbitrary command execution, depending on the user's tool approvals and allowlists.
- Are keyed deep links affected?
The advisory describes deep links without an unattended
key. It recommends using a validkeyonly for trusted personal automations.
References
Read for this analysis:
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology
More OpenClaw vulnerabilities
All OpenClaw entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
