Skip to content
Info disclosure Write-up Intermediate

One Click, Full Control: The Real Lesson Behind OpenClaw’s CVE-

The OpenClaw Control UI accepted a user-supplied gatewayUrl from the query string and automatically connected via WebSocket, sending a stored authentication token to that endpoint. An attacker could craft a link that, when opened by an authenticated user, exfiltrated the token and allowed privileged gateway operations.

Or Ben Ari Follow

Published on medium.com

Security Engineering • SOC • Product • Incident Response • Leadership stakeholders who need a clear, defensible risk narrative

Or Ben Ari, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The UI treated a user-controlled URL parameter as the gateway endpoint and auto-connected while transmitting a stored token, without validating or confirming the endpoint.

Impact

Token exfiltration enables unauthorized privileged gateway operations, which may lead to full compromise depending on gateway permissions and execution pathways.

What the attacker needed

OpenClaw version ≤ 2026.1.28; User authenticated to Control UI; User opens a crafted URL

The fix

Version 2026.1.29 was released to stop silent trust of URL-driven endpoint changes and require explicit user confirmation before applying a new gateway URL.

How it was found

  1. Attacker supplies a URL with gatewayUrl pointing to attacker-controlled infrastructure.
  2. Victim opens the URL.
  3. Control UI auto-connects via WebSocket to the supplied endpoint.
  4. Token is sent during connection setup.
  5. Attacker captures token.
  6. Attacker uses token to call gateway control-plane functionality, performing unauthorized privileged operations.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

The Control UI is a web page that connects to a gateway server and sends a secret token to prove who you are. It trusted a web address supplied in the link and connected automatically, so an attacker could make it send the token to their own server. With that token, the attacker could act as the user on the gateway.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.