CVE-2026-25253: OpenClaw/Clawdbot has 1-Click RCE via Authentication Token Exfiltration From gatewayUrl
Summary The Control UI trusts gatewayUrl from the query string without validation and auto-connects on load, sending the stored gateway token in the WebSocket connect payload. Clicking a crafted link or visiting a malicious site can send the token to an attacker-controlled server.
Published Feb 2, 2026
Affected packages
clawdbot
- Ecosystem
- npm
- Affected
- <= 2026.1.28
- Fixed in
- 2026.1.29
- Check
npm ls clawdbot
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The Control UI trusts gatewayUrl from the query string without validation and auto-connects on load, sending the stored gateway token in the WebSocket connect payload.
Clicking a crafted link or visiting a malicious site can send the token to an attacker-controlled server. The attacker can then connect to the victim's local gateway, modify config (sandbox, tool policies), and invoke privileged actions, achieving 1-click RCE. This vulnerability is exploitable even on instances configured to listen on loopback only, since the victim's browser initiates the outbound connection.
Details
The root cause is the lack of validation for gatewayUrl combined with auto‑connect behavior on page load. With the change users now need to confirm the new gateway URL in the UI.
Impact
This is a token exfiltration vulnerability that leads to full gateway compromise. It impacts any Moltbot deployment where a user has authenticated to the Control UI. The attacker gains operator-level access to the gateway API, enabling arbitrary config changes and code execution on the gateway host. The attack works even when the gateway binds to loopback because the victim's browser acts as the bridge.
Credited to DepthFirstDisclosures, 0xacb, mavlevin.
References
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. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-26317
OpenClaw affected by cross-site request forgery (CSRF) through loopback browser mutation endpoints
high7.1No fixFeb 18, 2026CVE-2026-26328
OpenClaw iMessage group allowlist authorization inherited DM pairing-store identities
medium6.5Feb 18, 2026CVE-2026-28452
OpenClaw affected by denial of service through unguarded archive extraction allowing high expansion/resource abuse (ZIP/TAR)
medium6.5No fixFeb 18, 2026CVE-2026-28469
OpenClaw Google Chat shared-path webhook target ambiguity allowed cross-account policy-context misrouting
high9.8No fixFeb 18, 2026CVE-2026-28478
OpenClaw affected by denial of service via unbounded webhook request body buffering
high7.5No fixFeb 18, 2026CVE-2026-28480
OpenClaw Telegram allowlist authorization accepted mutable usernames
medium5.9No fixFeb 18, 2026
