OpenClaw Security Vulnerabilities: Critical Framework Flaws Patched in 2026.3.28

Critical Security Vulnerabilities in OpenClaw Framework
Ant AI Security Lab conducted a 3-day audit of OpenClaw's core framework and submitted 33 vulnerability reports. Eight of these vulnerabilities were patched in the 2026.3.28 release, revealing significant architectural security issues beyond the commonly discussed prompt injection and malicious skill risks.
Specific Vulnerabilities Identified
- Sandbox Bypass via Tool Parameters: In versions <= 2026.3.24, the
messagetool acceptsmediaUrlandfileUrlaliases that bypass sandbox validation. This allows agents constrained to a sandbox to read arbitrary local files through these alias parameters, effectively breaking isolation. - Privilege Escalation via Device Pairing: The
/pair approvecommand path was calling device approval without forwarding caller scopes into the core check. Users with basic pairing privileges could approve pending device requests asking for broader scopes, including full admin access, granting themselves permissions they don't have. - Session Persistence After Token Revocation: When tokens are revoked, the gateway only updates stored credentials without disconnecting already-authenticated WebSocket sessions. Revoked devices can continue using their live sessions until connections naturally drop.
- SSRF Vulnerability in Image Provider: The
falprovider for image generation uses raw fetches for both API traffic and image downloads, skipping SSRF-guarded fetch paths. Malicious relays could force the gateway to fetch internal URLs and expose internal service responses through the image pipeline. - Allowlist Degradation: Route-level group allowlists (e.g., for Google Chat or Zalo) were silently downgrading from
allowlisttoopeninstead of preserving group policies. Any member of the allowlisted space could interact with the bot, ignoring sender-level restrictions.
Immediate Actions Required
- Check your OpenClaw version. If it's < 2026.3.28, update immediately.
- Review pairing logs for any unexpected admin grants.
- If you recently revoked a token, force-restart your gateway to kill lingering WebSocket sessions.
The Ant AI Security Lab audit highlights that while much attention focuses on LLM behavior, the underlying framework's trust boundaries and parameter validation are equally critical for security. All 8 advisories from the audit are publicly available on the OpenClaw GitHub security tab.
📖 Read the full source: r/openclaw
👀 See Also

Critical OpenClaw Security Vulnerabilities Patched in 2026.3.28
OpenClaw version 2026.3.28 patches 8 critical security vulnerabilities found by Ant AI Security Lab, including sandbox bypass, privilege escalation, and SSRF risks. Users on versions ≤2026.3.24 should update immediately.

OpenClaw SOC Agent Integration for SIEM Home Lab Threat Hunting
A Reddit user shares their open-source SIEM setup called Red Threat Redemption on Debian 13, integrating Elasticsearch, Kibana, Wazuh, Zeek, and pfSense with Suricata, then adds an AI agent for automated threat correlation, hunting, and alert triage.

mcp-scan: Security scanner for MCP server configurations
mcp-scan checks MCP server configurations for security issues including secrets in config files, known vulnerabilities in packages, suspicious permission patterns, exfiltration vectors, and tool poisoning attacks. It auto-detects configs for Claude Desktop, Cursor, VS Code, Windsurf, and 6 other AI clients.

OpenClaw's External Content Wrapper for Prompt Injection Defense
OpenClaw uses an external content wrapper that automatically tags web search results, API responses, and similar content with warnings that it's untrusted, priming the LLM to be skeptical and more likely to refuse malicious instructions.