OpenClaw agents expose prompt-injection RCE and other critical vulnerabilities
OpenClaw’s autonomous agent framework suffers from severe security flaws such as prompt injection-driven remote code execution, tool-chain attacks, context amnesia, and supply-chain contamination
Security & privacy arXiv 13 Mar 2026 Measurement Maturity unclear
Published as “Uncovering Security Threats and Architecting Defenses in Autonomous Agents: A Case Study of OpenClaw”
Why it matters
Adopting FASA and the ClawGuard prototype could substantially lower the risk that autonomous agents compromise host systems or exfiltrate data.
Summary
The paper uncovers critical security flaws in the OpenClaw autonomous agent framework, showing that prompt injection can trigger remote code execution, context compression can cause instruction amnesia leading to mass email deletion, and the open plugin marketplace enables supply-chain poisoning. It organizes these issues into a three-dimensional risk taxonomy and proposes a Full-Lifecycle Agent Security Architecture (FASA) that spans input sanitization, intent verification, execution enforcement, and governance. The evidence consists of a qualitative analysis of OpenClaw’s design and reported CVEs, without quantitative evaluation, so the strength of the claims rests on the plausibility of the described attack scenarios.
What they found 5
- Prompt injection can be weaponized to trigger unauthorized Remote Code Execution (RCE).
“it can be weaponized to trigger unauthorized Remote Code Execution (RCE)”
- Context compression can cause instruction amnesia, leading to destructive actions like deleting a user’s entire email inbox.
“the agent autonomously deleted a user’s entire email inbox.”
- Supply-chain contamination is possible via unaudited malicious plugins in the ClawHub marketplace.
“Attackers have successfully uploaded poisoned plugins containing hidden prompt injections or outright malware, turning user devices into botnets upon installation”
- OpenClaw runs without sandbox isolation, giving agents full host-user privileges.
“Agents run directly on the host machine without rigorous containerization or sandbox isolation, possessing disk access equivalent to the host user.”
- CVE-2026-25253 (ClawJacked) demonstrates that gateway URL manipulation can steal authentication tokens and enable arbitrary RCE.
“Attackers crafted malicious links that, when clicked by a victim, forced their browser to connect to an attacker-controlled gateway, transmitting authentication tokens. This authorized the attacker to execute arbitrary RCE.”
What’s new here 4
- Introduces a tri-layered risk taxonomy specifically for autonomous agents, mapping cognitive, execution, and system-level threats.
- Proposes the Full-Lifecycle Agent Security Architecture (FASA) that integrates zero-trust execution, dynamic intent verification, and cross-layer reasoning-action correlation.
- Provides a detailed case study of OpenClaw, identifying attack vectors such as context-compression-induced instruction amnesia and sequential tool attack chains.
- Launches the ClawGuard project as an initial implementation of the FASA blueprint for the OpenClaw ecosystem.
In the news
- —Microsoft Updates Taxonomy of Failure Modes in Agentic AI Systems After Red Team Insights CVE-2026-25253
- —OpenClaw vulnerability allows malicious websites to control local agents via WebSockets CVE-2026-25253
- —Over 135,000 OpenClaw Instances Exposed to Internet, Highlighting Security Flaws CVE-2026-25253
- —Critical OpenClaw Vulnerability Allows One-Click Remote Code Execution via Malicious Links CVE-2026-25253