3 Sources
[1]
Microsoft fixes AutoGen Studio flaw that enabled code execution
A vulnerability chain dubbed AutoJack in Microsoft's AutoGen Studio interface for prototyping AI agents could let attackers manipulate an agent into executing arbitrary commands on its host system simply by visiting a malicious webpage. AutoGen Studio is the graphical component for AutoGen,
[2]
AutoJack Attack Lets One Web Page Hijack AI Agent for Host Code Execution
Microsoft researchers have detailed an exploit chain, named AutoJack, that turns an AI browsing agent into a delivery vehicle for remote code execution. Steer the agent to load an attacker's web page, and that page's JavaScript can reach a privileged local service on the same machine and spawn a
[3]
Microsoft warns AI agents are being 'AutoJack'-ed to deliver RCE payloads by browsing untrusted websites
Three minor vulnerabilities chained together can cause a lot of trouble * Microsoft's Defender Security Research Team discloses "AutoJack," a vulnerability chain in AutoGen Studio enabling RCE via malicious websites * Flaws included localhost channel misuse, skipped login checks, and arbitrary
Share
Copy Link
Microsoft disclosed AutoJack, a vulnerability chain in AutoGen Studio that allowed attackers to manipulate AI agents into executing arbitrary commands simply by visiting a malicious webpage. The flaw chained three weaknesses in the localhost trust boundary, authentication, and command execution, but was patched before reaching most users.
Microsoft's Defender Security Research Team has disclosed a critical vulnerability chain dubbed AutoJack that affects AutoGen Studio, the graphical interface for building multi-agent AI systems . The AutoJack vulnerability allowed attackers to hijack AI agents and achieve remote code execution payloads on host systems simply by directing an agent to visit a malicious webpage
2
. AutoGen Studio, part of Microsoft's open-source AutoGen framework with more than 59,000 stars on GitHub, enables developers to create AI agents that can collaborate, browse the web, execute code, and interact with APIs1
.
Source: Hacker News
The AutoJack attack exploits three separate flaws in AutoGen Studio's Model Context Protocol (MCP) WebSocket implementation
3
. First, the WebSocket trusted localhost connections, a check designed to block external browsers but ineffective against browsing agents running on the same machine2
. Second, authentication middleware skipped MCP paths entirely, assuming the handler would verify tokens itself—which it never did2
. Third, the endpoint accepted commands directly from request parameters and executed them without any allowlist restrictions2
. When chained together, these weaknesses enabled a malicious webpage attack where JavaScript on an attacker-controlled page could open a WebSocket connection to AutoGen Studio's local MCP endpoint and instruct it to launch arbitrary code execution with the developer's account privileges1
.Microsoft emphasized that the vulnerability in AI agent framework had minimal real-world impact because it was identified and remediated during development
1
. Users installing AutoGen Studio from PyPI were never exposed to the affected code, as the current stable package autogenstudio 0.4.2.2 does not contain the AutoJack weaknesses1
. However, investigation revealed that two pre-release builds—0.4.3.dev1 and 0.4.3.dev2—shipped to PyPI with the vulnerable MCP WebSocket route intact2
. Only developers who built AutoGen Studio directly from the main GitHub branch during a limited window before commit b047730 or explicitly installed pre-release versions were impacted1
.In a realistic proof-of-concept demonstration, Microsoft researchers created a "Web Content Summarizer" agent scenario
2
. When the AI agent was directed to summarize content from an attacker-controlled URL, malicious JavaScript executed on the page and launched Windows Calculator on the developer's desktop1
. The attack required no credentials, no sign-in screen, and no further user interaction once the agent loaded the page2
. Microsoft reported no exploitation in the wild and described this as research rather than an active campaign2
.
Source: TechRadar
Related Stories
The AutoGen team addressed the vulnerability through commit b047730 (PR #7362), implementing several hardening measures
2
. The fixed handler no longer reads commands from URL parameters; instead, parameters are stored server-side behind a one-time session ID, and unknown IDs are refused2
. MCP routes now run through the normal authentication path, closing the authentication bypass2
. Microsoft recommends deploying AutoGen Studio strictly as a developer prototype in a sandboxed environment not exposed to the internet1
. The company advises against running the project with AI agents capable of browsing or executing arbitrary code on machines with untrusted content1
. "Run AutoGen Studio under a low-privilege account in a sandboxed user profile or container so that any future agent-driven RCE is contained to a dev profile, not your daily-driver account," Microsoft advises1
.
Source: BleepingComputer
Microsoft expects similar attack patterns to emerge in other agent frameworks, warning that "a local service with too much power, a localhost check treated as security, and an agent that opens untrusted pages" creates a dangerous combination
2
. The research follows similar localhost-based vulnerabilities Microsoft identified in ChatGPhish last month and in its Semantic Kernel RCE research, tracked as CVE-2026-26030 and CVE-2026-255922
. "If an agent can browse untrusted pages and also talk to privileged local services, loopback can become an attack surface and control planes must be authenticated, authorized, and isolated," Microsoft concluded3
. The disclosure highlights the need for strict authentication and isolation of local control planes as AI agents become more capable of interacting with the open web and executing code.Summarized by
Navi
[1]
12 Jun 2026•Technology

07 Aug 2025•Technology

24 Jul 2026•Technology

1
Science and Research

2
Policy and Regulation

3
Technology