Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2026-25253: Authentication Token Leakage and One-Click RCE in OpenClaw Control UI

Published Feb 1, 2026 · Updated 13 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
CVSS8.8High · v3.1
EPSS32.4%98th percentile
CISA KEVNoNot listed
In the wildReported3 exploitation records in Mallory
Vendor
Openclaw
IdentifiersCVE-2026-25253CWE-669 · Incorrect Resource Transfer…

OpenClaw, formerly Clawdbot and Moltbot, before version 2026.1.29 trusts the user-controlled gatewayUrl query parameter in its Control UI and automatically establishes a WebSocket connection to that destination without confirmation. The connection handshake includes the stored gateway authentication token, allowing an attacker-controlled WebSocket server to capture it. An attacker can then impersonate the victim to the legitimate gateway. Combined with missing WebSocket Origin validation, the attack can reach loopback-only deployments through the victim's browser and enable gateway takeover and arbitrary command execution.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the confidentiality, integrity, and availability of resources accessible to OpenClaw. A stolen token can provide administrative and execution-approval privileges, allowing attackers to modify gateway configuration, disable command confirmation, redirect execution outside the configured container sandbox, and execute arbitrary commands with the gateway process user's permissions. Accessible local data, API keys, messaging credentials, and connected services may also be compromised. Binding the gateway only to loopback does not prevent the browser-mediated attack chain.

Mitigation

If you can’t patch tonight, do this now.

Until patched, prevent the Control UI from accepting untrusted gatewayUrl values or disable automatic gateway connections on page load. Restrict Control UI access to trusted users and avoid opening untrusted links in browsers with access to authenticated OpenClaw sessions. Isolate the agent runtime, minimize its filesystem and integration permissions, and monitor for unexpected outbound WebSocket connections, gateway configuration changes, and command execution. Loopback binding alone is insufficient protection.

Remediation

Patch, then assume compromise.

Upgrade OpenClaw, including installations distributed under the clawdbot package name, to version 2026.1.29 or later. The fix introduces explicit confirmation before connecting to a new gateway URL, preventing silent token transmission to an attacker-selected destination. If exposure is suspected, rotate gateway tokens and potentially compromised integration credentials, investigate unauthorized configuration changes and command execution, and remediate any established compromise; upgrading alone does not reverse prior exploitation.

Public exploits

Exploits

5 exploits validated by Mallory's analysis. Hidden: 8 rejected by Mallory's analysis as not a working exploit; 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
moltbot-1click-rceRepository contains a two-stage browser-driven exploit PoC targeting a Clawdbot webchat/control UI design flaw where a user-controlled `gatewayUrl` parameter (or persisted setting) determines the WebSocket backend. Structure/purpose: - `exploit.py`: Flask server (port 13337) serving Stage 1 (`/lolada1`) and Stage 2 (`/lolada2`) pages plus a WebSocket endpoint (`/`) to receive and parse the victim’s initial WebSocket `connect` frame. It extracts `params.auth.token` (or `params.auth.password`) and exposes the stolen token via `/token` for Stage 2 to poll. - `templates/lolada1.html`: Stage 1 lure. On click, opens Stage 2 and redirects the browser to the target chat page (`http://127.0.0.1:18789/chat`) with `gatewayUrl` set to the attacker WebSocket (`ws://<HOSTNAME>:13337/`). This coerces the target UI to connect to the attacker, leaking auth material. - `templates/lolada2.html`: Stage 2. Polls `/token` until the token is captured, then connects to the local gateway (`ws://127.0.0.1:18789/`), performs a challenge/response connect flow (generates Ed25519 identity, signs payload), and sends a `chat.send` request with a prompt instructing the agent to execute an arbitrary command (`--command`, default `id`) and display output. - `exploit_hackian.py`: A Playwright-based harness to reproduce/validate the issue safely by stubbing `WebSocket` in-page, capturing the first outbound frame, and testing multiple scenarios (plain/encoded gatewayUrl, token/password/session in URL params, device publicKey presence). It blocks third-party network requests and prints a JSON report. - `exfiltrated.json`: Example output from the harness showing that `gatewayUrl` can be set to an attacker endpoint and that the first `connect` frame may include `auth.token` (e.g., `TEST_TOKEN_LEAK_123`) and device identity fields. Main exploit capabilities: 1) WebSocket endpoint injection via `gatewayUrl` to redirect the victim UI’s WebSocket connection to an attacker-controlled server. 2) Exfiltration of sensitive auth material (token/password) from the victim’s initial WebSocket `connect` message. 3) Post-exfiltration authenticated WebSocket API abuse to send `chat.send` messages that induce agent-side command execution (RCE-by-instruction), returning output via chat events. Notable implementation issue: in `exploit.py`, the password branch assigns `PASSWORD = token` (likely a bug; should be `PASSWORD = password`).ethiack · Disclosed Jan 27, 2026 · python · html · network (web) - parameter injection of WebSocket gatewayUrl leading to token/password exfiltration; then authenticated WebSocket API abuse to trigger agent command execution · browser-based (social engineering) - victim clicks Stage 1 page which opens Stage 2 and redirects to target with malicious gatewayUrlOperationalCVE-2026-25253-researchRepository is an operational PoC for CVE-2026-25253: one-click RCE against OpenClaw by combining token exfiltration and Cross-Site WebSocket Hijacking (CSWSH) against a localhost WebSocket gateway. Structure/purpose: - attacker-server.js: Node.js attack infrastructure. Runs (1) an HTTP server on port 3000 serving exploit.html and (2) a WebSocket server on port 8080 to capture tokens and relay them to waiting exploit pages. It parses incoming JSON messages and specifically looks for {type:'req', method:'connect'} to extract msg.params.auth.token. It intentionally rejects the first connect attempt (assumed “device token”) by returning an AUTH_FAILED error to trigger the victim UI’s fallback behavior, then captures the subsequent “settings token”. - exploit.html: Browser exploit. Stage 1 opens the victim’s local Control UI in a popup at http://127.0.0.1:18789 with a gatewayUrl query parameter pointing to the attacker’s WS server, causing the Control UI to connect outward and send its stored token. The page also connects to the attacker WS endpoint to receive the stolen token. Stage 2+ uses the stolen token to open its own WebSocket to the victim’s local gateway ws://127.0.0.1:18789 (relying on missing/weak Origin validation). It then performs API calls (as described in README and partially visible in code) to authenticate/handshake, disable execution approvals (exec.approvals.set ask:'off'), patch configuration to disable sandbox/container protections (config.patch with sandbox.mode:'off' and host:'gateway'), and finally sends an 'agent' request to execute an arbitrary command (default: touch /tmp/success) on agentId 'main' with sessionKey 'agent:main:main'. - package.json / package-lock.json: minimal dependency management; only external dependency is ws for the attacker server. - node_modules/ws/*: vendored ws library code. Key exploit capabilities: - Token theft/exfiltration by abusing a gatewayUrl parameter to redirect the Control UI’s WebSocket connection to an attacker-controlled WS endpoint. - CSWSH to a localhost WebSocket service (OpenClaw gateway) from an attacker origin. - Post-auth actions to reduce/disable security controls (approval prompts and sandboxing) and achieve command execution via the product’s agent command channel. Overall, this is not a scanner/detector; it is a working exploit chain with attacker infrastructure and a browser-delivered payload.al4n4n · Disclosed Feb 8, 2026 · javascript · html · network/browser (one-click) via Cross-Site WebSocket Hijacking to a localhost WebSocket service + token exfiltration via attacker-controlled WebSocket endpointOperationalCVE-2026-25253Repository contains a small Flask-based exploit server plus two HTML/JS templates implementing a browser-driven localhost pivot leading to command execution against a local OpenClaw service (claimed CVE-2026-25253). Structure and roles: - exploit.py: Runs a Flask app on port 13337 and a WebSocket endpoint at "/" (via Flask-Sock). It serves two pages (/eqst1 and /eqst2), exposes /token for one-time retrieval of a captured gateway token, and /report_result to receive and print command output. The WebSocket handler inspects incoming JSON messages for auth fields (gatewayToken/token). If a token is not present and it sees a "connect" method, it forces an AUTH_FAILED response once to trigger a “device token fallback” behavior, increasing chances the client will resend/emit a gateway token. - templates/eqst1.html: “1-click” entry page. On click, it opens /eqst2 and then redirects the browser to a local endpoint http://127.0.0.1:18789/chat with a crafted query parameter gatewayUrl=ws://<attacker_host>:13337/. This is intended to coerce the local OpenClaw UI/service to connect back to the attacker WebSocket (token interception). - templates/eqst2.html: Exploit runner. It polls /token until the attacker server has captured a gateway token. Then it connects to the local WebSocket ws://127.0.0.1:18789/, performs a connect handshake using a freshly generated Ed25519 identity (WebCrypto), requests elevated operator scopes, and upon successful hello/handshake sends a chat.send request that instructs the agent to execute an arbitrary command (default: `id`). When chat output arrives, it exfiltrates the output to /report_result. Exploit capabilities: - Token capture/interception: Captures a gateway token from a coerced connection to attacker-controlled WebSocket. - Authentication/connection establishment: Uses the captured token plus a signed device identity to complete a connect challenge with privileged scopes. - Command execution via chat/agent instruction: Sends a prompt-like instruction to execute a supplied command and return output. - Output exfiltration: Posts command output back to attacker server and prints it. Notable operational details: - Default command is configurable via --command in exploit.py and is templated into eqst2.html. - The exploit is designed for a victim environment where a service is bound to localhost:18789 and is reachable from the browser (classic browser-to-localhost attack surface).EQSTLab · Disclosed Mar 9, 2026 · python · html · network · browserOperationalCVE-2026-25253This repository is a working JavaScript/HTML proof-of-concept exploit for CVE-2026-25253 affecting OpenClaw/clawbot versions earlier than v2026.1.29. The exploit chain is multi-stage: a victim is lured to an attacker-hosted page (meeting.html) disguised as a meeting/install page; that page causes the victim browser to open the local OpenClaw Control UI with a malicious gatewayUrl parameter so the UI connects to the attacker-controlled WebSocket server; attacker-server.js captures the authentication token by intentionally rejecting the first connect attempt to force fallback from a device-bound token to a replayable settings token; the browser exploit then opens its own WebSocket connection to the real local gateway at 127.0.0.1:18789 using the stolen token; finally it invokes OpenClaw RPC methods to disable approval prompts, patch configuration to turn off sandboxing and run exec on the host, and sends an agent message that causes a shell command to run. Repository structure is simple: README.md documents the vulnerability, attack flow, setup, and usage; attacker-server.js implements both the HTTP server on port 3000 and the attacker WebSocket capture server on port 8080; meeting.html contains the browser-side exploit logic and social-engineering UI; package.json/package-lock.json declare the ws dependency; node_modules/ws is vendored third-party library code and not part of the exploit logic itself. The exploit is not a scanner or detector—it is intended to achieve token theft and host command execution on a vulnerable, locally running OpenClaw instance through browser-based interaction and cross-site WebSocket abuse.KajzingerAkos · Disclosed Apr 18, 2026 · javascript · html · web · browser · networkOperationalCVE-2026-25253This seven-file repository is an operational proof of concept for CVE-2026-25253, affecting OpenClaw Control UI gatewayUrl handling before v2026.1.29. Its core is exploit.py, a Python Flask and Flask-Sock server on port 13337. The server hosts two JavaScript pages, captures gateway tokens from WebSocket connection messages, exposes a one-time /token retrieval route, and receives command results at /report_result. eqst1.html redirects the victim browser to the local Control UI with a gatewayUrl pointing to the attacker-controlled WebSocket. This causes the vulnerable UI to connect to the attacker endpoint and disclose a token. In parallel, eqst2.html polls the attacker server for that token, generates an Ed25519 device identity in the browser, completes the gateway's operator device-authentication challenge against ws://127.0.0.1:18789/, and submits a chat.send request that asks the configured OpenClaw agent to execute the supplied command. The returned chat text is exfiltrated to the exploit server and printed. The default command is env, but --command allows an operator to alter it. The Dockerfile builds a deliberately vulnerable Ubuntu-based OpenClaw v2026.1.24-1 environment with a fixed gateway token, SSH enabled, and gateway port 18789; config.txt supplies an OpenAI-backed agent configuration. README.md documents the attack flow and local lab setup. The exploit has no persistence or standalone shell payload, but provides agent-mediated command execution once the browser bridge and token theft succeed.yym8538 · Disclosed Aug 21, 2026 · python · javascript · web · browser · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
OpenclawOpenclawapplication
FAQ

Frequently asked questions

Is CVE-2026-25253 exploited in the wild?
Yes. As of Nov 9, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2026-25253?
Yes. Mallory tracks 5 public exploits or proofs of concept for CVE-2026-25253, the earliest disclosed Jan 27, 2026.
Is there a patch for CVE-2026-25253?
Upgrade OpenClaw, including installations distributed under the clawdbot package name, to version 2026.1.29 or later. The fix introduces explicit confirmation before connecting to a new gateway URL, preventing silent token transmission to an attacker-selected destination.
What products are affected by CVE-2026-25253?
Openclaw.
How severe is CVE-2026-25253?
CVE-2026-25253 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 32.4% (98th percentile) as of Nov 9, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence1Every report linking this CVE to a named adversary.
Associated malware6Malware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity114Community discussion across Reddit, Mastodon, and other social sources.