Skip to content
MediumNews

ClawJacked Flaw Lets Malicious Sites Hijack Local OpenClaw AI Agents via WebSocket

Published
Record updated
View JSON

Summary

Oasis Security disclosed ClawJacked, a high-severity flaw in the core OpenClaw gateway that lets JavaScript on a malicious website connect to a locally running OpenClaw AI agent via WebSocket. The script can brute-force the gateway password because rate limiting is missing, then register as a trusted device that the gateway auto-approves from localhost, giving the attacker control to interact with the agent, dump configuration, enumerate nodes and read logs.

Mitigation

Fixed in version 2026.2.25, released on February 26, 2026. Users are advised to apply the latest updates as soon as possible, periodically audit access granted to AI agents, and enforce governance controls for non-human (agentic) identities.