Solutions  ·  2026-06-20

AutoJack — Novel AI Agent RCE Exploit Chain via Localhost MCP WebSocket (AutoGen Studio, Microsoft Research)

SolutionsHigh impactGlobal
Microsoft disclosed on June 18, 2026 an exploit chain (AutoJack) found in AutoGen Studio's development branch: a malicious webpage rendered by a browsing AI agent can open a WebSocket to ws://localhost:8081/api/mcp/ws/, cross the localhost trust boundary, and spawn arbitrary processes on the host machine — achieving RCE without any user interaction beyond the agent visiting the page. The vulnerable surface was hardened before reaching a PyPI release. Microsoft's disclosure documents the attack class systemically: any agent framework that (a) browses untrusted web content and (b) exposes privileged localhost services is structurally vulnerable.
AutoJack defines a novel, broadly applicable attack class — not just an AutoGen bug. Any AI browsing agent paired with a local MCP server or developer tooling (VS Code extensions, local LLM endpoints, etc.) shares this risk. The localhost trust assumption underpinning most developer-side AI tooling is now explicitly broken.
All teams running AI browsing agents (AutoGen, LangGraph, CrewAI, custom) alongside local MCP servers or privileged localhost services should immediately audit their network isolation. Framework developers must add authentication and origin validation to all localhost WebSocket endpoints.
Sources
Microsoft Security Blog — AutoJack: How a single page can RCE the host running your AI agent
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →