OpenClaw Part II: The Growing Security Risks Behind One-Click RCE
The OpenClaw Control interface accepted a manipulated gatewayUrl parameter, so a crafted link could make the victim's browser send their authentication token to an attacker-controlled server. An attacker who obtained the token could then act within the agent's permissions, including command execution, file access and external API calls.
Published on osintteam.blog
A 1-Click Remote Code Execution (RCE) vulnerability, CVE-2026–25253, was recently disclosed in the AI agent platform OpenClaw, drawing attention from the security community.
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
Likely the Control UI trusted an externally supplied gatewayUrl parameter and sent the authentication token to whatever WebSocket server that parameter named, without validating the destination.
Impact
If the token is captured and access succeeds, the attacker could abuse the agent's permissions to run commands, access files and make external API calls; the text hedges this with 'could' and 'may'.
What the attacker needed
Victim clicks a crafted link; victim has an OpenClaw session token; attacker controls a WebSocket server
The fix
The issue was fixed in OpenClaw version 2026.1.29, and users should update to the latest patched version and restrict external access to the Control interface.
How it was found
- Create a malicious URL containing a manipulated gatewayUrl parameter.
- Lure the victim to click the link through phishing email or a malicious web page.
- The Control UI opens a WebSocket connection to the attacker's server.
- The authentication token is sent to the attacker's server.
- The attacker uses the token to try to access the OpenClaw instance.
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.
OpenClaw is an AI agent platform with a web control panel. A link could change which server the panel connected to, and during that connection the user's login token was sent to the attacker instead of the real server. With that token, the attacker could pretend to be the user and use the agent's powers.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.