Skip to main content
Mallory
← Back to News
ai-platform-securityinternet-facing-service-vulnerabilityidentity-authentication-vulnerabilitywidely-deployed-product-advisory

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

AutoJack exploit chain enabled host RCE through AutoGen Studio localhost MCP service

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
New surface, new adversariesTrack how attackers are adapting to this technology.
Track this risk
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · Mar 11, 2026 – Jun 19, 2026
  1. Jun 19, 20265mo ago

    AutoGen maintainers harden main branch in commit b047730

    The AutoGen maintainers remediated the issue in the upstream main branch in commit b047730 by moving parameter binding server-side and restoring or tightening authentication coverage for MCP routes. The vulnerable MCP WebSocket surface had not been shipped in a PyPI release, so PyPI users were not exposed to this specific exploit chain.

    AutoJack: How a single page can RCE the host running your AI agent - Malware News - Malware Analysis, News and Indicators
  2. Jun 19, 20265mo ago

    Microsoft reports AutoJack issue to MSRC

    After identifying the exploit chain, Microsoft reported the AutoJack issue to the Microsoft Security Response Center. This disclosure initiated remediation of the vulnerable AutoGen Studio development code.

    AutoJack: How a single page can RCE the host running your AI agent - Malware News - Malware Analysis, News and Indicators
  3. Jun 19, 20265mo ago

    Microsoft researchers identify AutoJack exploit chain in AutoGen Studio

    Microsoft security researchers discovered an exploit chain they named AutoJack in AutoGen Studio development code that could let untrusted web content rendered by a local browsing agent reach a localhost MCP WebSocket and spawn arbitrary processes on the host. The chain relied on localhost-based WebSocket origin trust, missing authentication on MCP WebSocket paths, and unsafe execution of attacker-controlled StdioServerParams.

    AutoJack: How a single page can RCE the host running your AI agent - Malware News - Malware Analysis, News and Indicators
  4. Jun 19, 20265mo ago

    Report says AutoJack affected AutoGen Studio 0.4.3.dev1 and 0.4.3.dev2

    Microsoft researchers said the AutoJack issue affected AutoGen Studio pre-release PyPI builds 0.4.3.dev1 and 0.4.3.dev2, while stable release 0.4.2.2 was not affected because it lacked the MCP route. They also said the hardening in commit b047730 had not yet been released to PyPI at the time of reporting.

    AutoJack Attack Lets One Web Page Hijack AI Agent for Host Code Execution
  5. Jun 18, 20265mo ago

    Microsoft publicly discloses AutoJack research

    Microsoft publicly disclosed the AutoJack exploit chain and its security implications in a Microsoft Security Blog post. The disclosure also highlighted the broader lesson that localhost is not a trustworthy boundary when AI agents can browse untrusted content and interact with privileged local services.

    AutoJack: How a single page can RCE the host running your AI agent | Microsoft Security Blog
  6. Mar 11, 20269mo ago

    AutoGen deprecates FunctionTool to fix exec-based code execution risk

    In commit b047730, the AutoGen project deprecated FunctionTool in AutoGen Studio after identifying that FunctionTool instantiation used exec() on user-provided source code, including exposure through the /api/validate/ endpoint. The update removed FunctionTool creation and editing paths from the UI, added warnings recommending MCP Workbenches, and kept only limited compatibility for existing configurations.

    fix: Improve AutoGen Studio: deprecate FunctionTool, harden MCP WebSo… · microsoft/autogen@b047730 · GitHub
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Observables

2 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Follow how adversaries are adapting to this technology, and where it touches your stack today.
Track This Risk
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.