AutoJack exploit chain enabled host RCE through AutoGen Studio localhost MCP service
Emerging Technology Risk · 7 sources · Updated 5mo ago · First seen Jun 19, 2026

Microsoft disclosed AutoJack, an exploit chain in AutoGen Studio development code that allowed untrusted web content viewed by a local browsing agent to reach a localhost MCP WebSocket and launch arbitrary processes on the host. The attack combined three flaws: trust in localhost-based WebSocket origins, missing authentication on MCP WebSocket paths, and unsafe handling of attacker-controlled StdioServerParams supplied through the server_params query string, which was decoded into command execution.
Microsoft reported the issue to MSRC, and AutoGen maintainers hardened the upstream main branch in commit b047730 by moving parameter binding server-side and restoring authentication protections for MCP routes. Microsoft said the vulnerable MCP WebSocket surface was never shipped in a PyPI release, so users who installed AutoGen Studio from PyPI were not exposed to this specific chain, while warning that AI agent frameworks should not treat localhost as a trusted boundary when agents can browse untrusted content and interact with privileged local services.
Why it matters
Impact assessment
AutoJack exposed a host-level remote code execution path in AutoGen Studio development builds by chaining an AI browsing agent with a privileged localhost MCP service. The practical impact is high for affected developers because a single malicious page rendered by a local agent could launch arbitrary processes under the developer’s account, creating risk of workstation compromise, credential theft, data loss, and downstream environment access.
Exposure appears limited rather than widespread. Microsoft states the vulnerable MCP WebSocket surface was not present in the stable PyPI package autogenstudio 0.4.2.2 and was limited to developers using GitHub main during the affected window; some reporting also indicates pre-release builds 0.4.3.dev1 and 0.4.3.dev2 contained the vulnerable handler. Microsoft reported no known in-the-wild exploitation and described the disclosure as research, but the pattern is broadly relevant to AI agent frameworks that let agents browse untrusted content while interacting with privileged local services.
Affected populations
- Developers and researchers running AutoGen Studio locally
- Organizations prototyping multi-agent AI systems with AutoGen Studio
- Environments where browsing agents can access untrusted web content on the same host as AutoGen Studio
- Potentially users of pre-release builds 0.4.3.dev1 and 0.4.3.dev2, based on third-party reporting
Severity and business impact
- Host compromise through arbitrary process execution as the logged-in developer account
- Potential theft of local secrets, tokens, source code, SSH keys, browser data, and cloud credentials
- Potential lateral movement if the developer workstation has privileged enterprise access
- Operational disruption to AI development environments and reputational impact if compromised agents are used in demos or internal workflows
Scope and exploitation status
- Not present in stable PyPI release autogenstudio 0.4.2.2
- Exposure limited to development/main-branch users during the vulnerable window, with conflicting reporting about pre-release PyPI dev builds
- No confirmed exploitation in the wild reported by Microsoft
- Broader architectural risk applies to other agent frameworks that trust localhost while permitting untrusted browsing


