Skip to content
AgentProv

2026-06-18 · 2026-Q2

Microsoft AutoGen Studio "AutoJack" Drive-By Code Execution

Primary layerL6 Identity / RunSecondary:L5 Config

Which agent, run, or tenant is this?

The question layer 6 asks, and failed here.
Fixable
Vendor patch
Vendor response
Patched
In the wild
No
Actor
Attacker

Target

Microsoft AutoGen Studio built from the GitHub main branch after the MCP plugin was added and before commit b047730; published PyPI releases, including autogenstudio 0.4.2.2, were not affected

Impact

A malicious webpage tricks a localhost AutoGen Studio agent into executing arbitrary PowerShell, Bash, or executables with the developer's privileges; Microsoft demonstrated launching Calculator from a visited page

Root cause

Three chained weaknesses: the MCP WebSocket trusted localhost connections, the auth middleware excluded `/api/mcp/*` routes, and the WebSocket accepted a base64 `server_params` value from the URL and passed it to process-launch code

Sources

Catalog

Cite this: AgentProv incident record: Microsoft AutoGen Studio "AutoJack" Drive-By Code Execution (2026-06-18). https://agentprov.com/incidents/2026-06-18-microsoft-autogen-studio-autojack-drive-by-code-execution