OpenClaw (ClawdBot/Moltbot) One-Click Remote Code Execution via Unsafe Gateway URL Handling
Emerging Technology Risk · 3 sources · Updated 5mo ago · First seen Feb 2, 2026

A critical one-click remote code execution (RCE) issue was reported in OpenClaw (also referred to as ClawdBot/Moltbot), an open-source AI “agent” assistant that runs with high local privileges and access to sensitive data (e.g., messaging apps and API keys). The described exploit chain abuses unsafe URL parameter ingestion (e.g., a gatewayUrl query parameter accepted without validation), persistence of attacker-controlled values (stored in localStorage), and an automatic gateway connection that transmits an authToken during the handshake—enabling cross-site WebSocket hijacking and ultimately unauthenticated code execution after a victim clicks a single malicious link. Reporting indicates the flaw has been weaponized, making it a practical drive-by compromise path for endpoints running the assistant.
Separate reporting highlighted broader concerns with agentic/open-source AI tooling and deployments, including the security risks of highly privileged “AI that acts for you” and the growing attack surface created by exposed AI services. Research cited large-scale internet exposure of open-source LLM runtimes (e.g., Ollama) with tool-calling and weak guardrails, warning that a single vulnerability or misconfiguration could enable widespread abuse (resource hijacking, identity laundering, or remote execution of privileged operations). These themes reinforce that AI agents and self-hosted AI stacks should be treated as critical infrastructure, with strict input validation, hardened update/connection flows, and strong monitoring around token handling and outbound connections.
Why it matters
Impact assessment
OpenClaw/ClawdBot/Moltbot users are exposed to a critical endpoint-compromise path if they run versions prior to v2026.1.24-1. The issue is severe because a single malicious link can lead to unauthenticated remote code execution on the host with access to sensitive local data, agent privileges, messaging content, API keys, and system-level actions.
Exposure appears broad rather than narrowly targeted because OpenClaw is described as used by more than 100,000 developers and the exploit requires only that the victim has the assistant running locally. Reporting states the exploit chain has been weaponized, which materially raises the likelihood of in-the-wild abuse against developer workstations and other endpoints using privileged AI agents.
Supporting facts
- Affected product: OpenClaw, also referred to as ClawdBot/Moltbot.
- Affected population: users and organizations deploying the assistant, especially developers and teams allowing high local privileges.
- Vulnerable versions: versions before v2026.1.24-1.
- Impact: unauthenticated remote code execution with system-level access.
- Business risk: theft of API keys and tokens, compromise of local applications and files, operational disruption on developer endpoints, and downstream supply-chain risk if compromised hosts hold source code or deployment credentials.
- Exploitation status: reporting states the flaw was weaponized.
- Broader context: exposed open-source AI infrastructure such as Ollama increases organizational risk where tool-calling, weak guardrails, and internet exposure enable privileged misuse at scale.
- Related exposure statistic from separate reporting: SentinelLABS and Censys identified 175,108 internet-exposed Ollama hosts across 130 countries.


