OpenClaw CVE-2026-25253 explained: what happened and how to patch
OpenClaw CVE-2026-25253 in plain words: the one-click token theft, who was affected, what an attacker needed, the 2026.1.29 fix and how to check your install.

On this page
Part of OpenClaw review: the best free AI agent comes with a second job
OpenClaw CVE-2026-25253 was a one-click remote code execution bug. OpenClaw's Control UI read a gatewayUrl from the page address and connected to it on load, sending your gateway token with it. One click on a crafted link handed that token to an attacker, who could then turn off approvals and run commands on your computer. It affects every OpenClaw (also sold as Clawdbot and Moltbot) before 2026.1.29, released on 30 January 2026. If you are on 2026.1.29 or later, you are patched. If you are not sure, the check takes one command, below.
What CVE-2026-25253 was and how the 1-click RCE worked
The bug sat in the web dashboard OpenClaw calls the Control UI, not in the agent itself. depthfirst, whose researchers found and chained it, published the full write-up on 1 February 2026 (depthfirst). The chain had five steps:
- 1Victim clicks a linkA crafted URL carries ?gatewayUrl=ws://attacker
- 2Control UI connectsIt saves the URL and connects on page load, no prompt
- 3Token leaksThe stored gateway token goes to the attacker's server
- 4Safeguards offApprovals set to off, commands moved out of the sandbox
- 5Code runsThe attacker runs any command on the gateway host
Two details made it worse than it sounds.
Localhost was no protection. WebSocket connections are not held back by the browser's same-origin rules the way normal web requests are, and depthfirst found the gateway did not check where a connection came from. So JavaScript on the attacker's page could reach ws://localhost:18789 through your own browser. The GitHub advisory says it plainly: the attack works even when the gateway only listens on loopback (advisory).
The sandbox was switched off, not broken. The stolen token carried admin and approvals scopes. The attacker did not need a sandbox escape. They used OpenClaw's own API to set command approvals to off and move execution from the Docker container to the host, then ran a command. depthfirst says the whole thing happens "in milliseconds after the victim visits a webpage."
What an attacker needed
Precisely this, and no more:
- You were running OpenClaw before 2026.1.29.
- You had signed in to the Control UI in that browser, so the token was stored there.
- You clicked a crafted link or opened a page the attacker controlled.
They did not need an account, a password or network access to your machine. NVD's score reflects that: network attack, low complexity, no privileges required, user interaction required, and high impact on confidentiality, integrity and availability (NVD). CISA's assessment on the same record marks exploitation as "poc" (a public proof of concept) and not automatable. We found no confirmed report of it being used against real users.
| Detail | What the record says |
|---|---|
| Affected | OpenClaw, Clawdbot or Moltbot before 2026.1.29 (NVD) |
| Package in advisory | clawdbot on npm, v2026.1.28 and earlier |
| Fixed in | 2026.1.29, released 30 January 2026 |
| Advisory published | 31 January 2026 (GHSA-g8p2-7wf7-98mq) |
| Credit | 0xacb and mavlevin, reported via DepthFirstDisclosures |
| Weakness | CWE-200, exposure of sensitive information |
How OpenClaw fixed it in 2026.1.29 and what Trail of Bits found later
The fix is simple: the Control UI now asks you to confirm a new gateway URL before it connects. No silent connection, no token sent to a stranger. It shipped in 2026.1.29, the same release that renamed the npm package from clawdbot to openclaw (release notes). In the same release, openclaw doctor started warning when the gateway is exposed without authentication. The rename is part of why old installs linger: a machine still running clawdbot from January never got the new package name. Our Clawdbot, Moltbot and OpenClaw history explains the renames.
The project did not stop there. In September 2026 it published a Trail of Bits audit run through OpenAI's Patch the Planet programme. Trail of Bits filed 27 advisories. Of the 24 with a severity, 2 were high, 16 medium, 6 low and none critical, with 3 more as defence-in-depth notes. All were fixed in 2026.8.1 and the 2026.7.33 LTS release (audit recap).
Why ClawHub malicious skills remain a separate supply-chain risk
Patching CVE-2026-25253 does nothing about skills. These are two different problems.
The CVE let a stranger take control through a link. A malicious skill is code you invite in yourself. In February 2026, Koi Security found 341 malicious skills among the 2,857 on ClawHub, 335 of them from one campaign, ClawHavoc, which delivered the Atomic macOS Stealer (eSecurity Planet). ClawHub added VirusTotal scanning soon after, per follow-up coverage. Scanning catches known malware. It does not catch a skill that quietly tells your agent to do something harmful.
A fully patched OpenClaw will still run a bad skill with your agent's permissions. Read the full story in ClawHub's malicious skills, explained.
How to verify your OpenClaw instance is patched and sandboxed
Ten minutes, start to finish.
- Check the version. Run
openclaw --version(CLI reference). Anything at 2026.1.29 or above has the fix. The current stable release on GitHub is v2026.11.10, published 25 November 2026 (releases). - Update if you are behind. Run
openclaw update. If the machine still has the oldclawdbotpackage, installopenclawfrom the official site and remove the old one. - Rotate your token if you were exposed. If you ran an affected version and opened links you don't fully trust, depthfirst recommends rotating your tokens. Treat API keys that machine held the same way: a full takeover could read them.
- Run the built-in audit.
openclaw security auditchecks whether your setup has drifted from the safe defaults (security docs). - Keep the gateway on loopback. It binds there by default on a normal install. Expose it only behind authentication.
- Turn approvals back on. Look at your command approval setting. If it says off or YOLO, set it to Ask.
- Keep execution in the sandbox. If commands run on the host, move them back to the container for anything you didn't write.
- One gateway per trust boundary. OpenClaw's docs say a gateway is "not a hostile multi-tenant security boundary". Don't share one with people you don't fully trust.
- Audit your skills. Remove anything you don't recognise, and read the code of what stays.
- Watch the advisories. OpenClaw publishes fixes on its GitHub security page. Our broader guide, is OpenClaw safe, covers the rest of the 2026 record.
Defense-in-depth: OS sandboxing and per-action approvals in Fluf
The lesson of CVE-2026-25253 is that one leaked credential could switch every safeguard off at once. Good defaults should not hang on a single secret.
Fluf is a desktop app for Mac, Windows and Linux where you hire AI agents that work on your computer, or on a server you connect. Its approvals are built so that losing one switch does not lose them all:
- Auto mode by default. Agents ask before spending money, deleting outside their business, sending to someone new or changing settings and keys (permission modes).
- Never means never. A Never rule, such as "Never use the terminal", holds in every mode, Full access included. A locked Ask me first rule asks even in Full access.
- Keys stay out of reach. API keys live in your system's secure store. Agents never see them, and memory refuses anything that looks like a secret (security and privacy).
- Tools wait for you. A new plugin does nothing until you approve it, and goes back to review when its definition changes.

Here is what that looks like when an agent hits a line you drew:
The fair trade-off: OpenClaw is MIT-licensed, so you can read every line and audit it yourself. Fluf is closed source. You trade auditability for approvals that are on before you configure anything. Compare the two in full on Fluf vs OpenClaw, see every option on our OpenClaw alternative page, or read our OpenClaw review.
Want those defaults without the checklist? Download Fluf, free for 1 business and 6 agents, and hire an agent that asks before it acts. Plans are on the pricing page.
Questions people ask
- What is CVE-2026-25253?
- A high-severity OpenClaw bug, rated 8.8 by NVD. The Control UI took a gatewayUrl from the page address and connected to it without asking, sending your gateway token along. With that token an attacker could switch off approvals and run commands on your machine.
- Which OpenClaw versions are affected by CVE-2026-25253?
- NVD lists OpenClaw, also called Clawdbot or Moltbot, before 2026.1.29. The GitHub advisory names the old clawdbot npm package at v2026.1.28 and earlier. Version 2026.1.29, released on 30 January 2026, and everything after it are fixed.
- Did running OpenClaw on localhost protect me?
- No. The attack ran through your own browser, which can reach localhost, so a gateway bound to loopback was still exposed. Only the update closes it.
- Is CVE-2026-25253 being exploited?
- Public proof-of-concept details exist: depthfirst published the full chain on 1 February 2026, and CISA's assessment on the NVD record marks exploitation as proof of concept. We found no confirmed report of attacks in the wild. Any install still on an old version should be treated as exposed.
- Could the same kind of bug hit Fluf?
- Any software can ship a bug, Fluf included. What limits the damage is how much an agent can do without you: in Fluf, Never rules hold in every mode, spending and new recipients need your OK by default, and agents never see your API keys.
Sources
- NVD: CVE-2026-25253, checked 28 November 2026
- GitHub advisory GHSA-g8p2-7wf7-98mq: 1-Click RCE via gatewayUrl, checked 28 November 2026
- depthfirst: 1-click RCE to steal your Moltbot data and keys (1 Feb 2026), checked 28 November 2026
- OpenClaw release v2026.1.29, checked 28 November 2026
- OpenClaw releases, checked 28 November 2026
- OpenClaw blog: Trail of Bits engagement recap (21 Sep 2026), checked 28 November 2026
- OpenClaw docs: Security, checked 28 November 2026
- OpenClaw docs: CLI reference, checked 28 November 2026
- eSecurity Planet: hundreds of malicious skills found in ClawHub (3 Feb 2026), checked 28 November 2026
- OpenClaw, checked 28 November 2026



