ClawJacked Flaw Let Malicious Websites Hijack OpenClaw

Summary
Oasis Security reported that ClawJacked let malicious websites brute-force OpenClaw’s localhost gateway and gain admin access. OpenClaw fixed the flaw in version 2026.2.26; users should update.
Key points
- OpenClaw’s localhost-bound gateway exposed a WebSocket interface that browser JavaScript could access from a malicious website.
- The loopback address was exempt from rate limiting, allowing password guesses at hundreds of attempts per second, according to Oasis Security.
- After guessing the management password, an attacker could register as a trusted device and gain admin access without user confirmation.
- Oasis said admin access could enable credential theft, access to message histories, file exfiltration, or shell commands on paired nodes.
- OpenClaw fixed the issue in version 2026.2.26 by tightening WebSocket checks and adding protections against localhost brute-force attempts and session hijacking.
- Administrators and developers running OpenClaw should update to version 2026.2.26 or later.
Article Details
- Vulnerability Types
- WebSocket authentication brute-force enabled by a localhost rate-limiting exemption
- Automatic trusted-device registration from localhost without user confirmation
- Severity
- High
- Exploitation Status
- reported
- Exploit Availability
- claimed_or_private
- Patch Status
- available
MITRE ATT&CK
T1059 · Command and Scripting InterpreterWith admin access, an attacker could instruct the agent to execute arbitrary shell commands on paired nodes.T1059.007 · JavaScriptThe reported attack uses JavaScript running in a malicious website to connect to the local OpenClaw gateway and attempt authentication.T1110.001 · Password GuessingIn lab testing, browser JavaScript attempted hundreds of OpenClaw management-password guesses per second against the localhost gateway.T1189 · Drive-by CompromiseThe attack is triggered when an OpenClaw user visits a malicious website, which then attempts to hijack the locally running gateway.
