Microsoft UFO
CVE-2026-46416
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to UFO instance with low-privilege credentials
-
DeliveryWait for target user to establish active WebSocket session
-
ExploitConnect attacker WebSocket immediately after victim
-
InstallAttacker connection overwrites shared protocol field in singleton handler
-
C2Target user's agent task completes, server dispatches response
-
ExecuteResponse delivered to attacker's transport instead of victim's
-
ImpactAttacker reads victim's session data or agent output
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires: (1) a valid low-privilege authenticated account on the target UFO instance (PR:L confirmed by CVSS vector); (2) the target UFO deployment must be serving multiple concurrent users over WebSocket - single-user or sequentially-used deployments are not exploitable because the shared state overwrite only produces leakage when connections overlap in time; (3) the attacker must connect after the victim has already established their WebSocket session to ensure the attacker's protocol object overwrites the shared field and captures the victim's subsequent responses. Exploitation is limited by: the requirement for attacker authentication (eliminates unauthenticated remote attackers), the need for concurrent session overlap (reduces the exploitable window to specific timing conditions), and the unchanged scope (S:U) meaning the vulnerability cannot be used to pivot beyond the UFO application boundary itself. Non-default configurations are not required - any standard multi-user deployment of the affected version is vulnerable. |
| Impact | The CVSS 6.3 Medium score is appropriately calibrated for this issue. The vector AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L confirms network-reachable exploitation with low complexity and no user interaction required, but mandates a low-privilege authenticated account (PR:L) - meaning anonymous exploitation is not possible. Real-world risk is contingent on concurrent multi-user deployments: the vulnerability only manifests when two or more authenticated users maintain active WebSocket sessions simultaneously, and the attacker must be authenticated themselves. No EPSS data was provided in the source intelligence; however, given no KEV listing and no confirmed POC, opportunistic mass exploitation is unlikely. The primary risk scenario is insider threat or shared-tenancy abuse in organizational deployments of UFO. The C:L/I:L/A:L impact triad indicates partial confidentiality loss (session responses leaked), limited integrity impact (misdirected responses could cause unintended agent actions on attacker's device), and marginal availability impact. The tags include 'Authentication Bypass,' which slightly overstates the issue - this is session cross-contamination between already-authenticated users, not a bypass of authentication itself. |
| Exploit ScenarioDerived | An attacker with a valid low-privilege UFO account waits for a target user to establish an active WebSocket session, then immediately connects their own WebSocket client to the same UFO instance. Because the attacker's connection is the most recent, the shared handler's protocol field is overwritten with the attacker's transport object. When the target user's automated agent tasks complete and the server sends response messages, those responses are delivered to the attacker's WebSocket connection instead of the target's, potentially exposing session data, agent outputs, or automation results. No public proof-of-concept code has been identified, but the low-complexity CVSS vector indicates the timing and mechanics are straightforward for any authenticated user. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 27, 2026
Cross-connection response leakage in Microsoft UFO's WebSocket layer allows an authenticated low-privileged user to receive protocol responses intended for a different authenticated session. The flaw stems from a singleton UFOWebSocketHandler design where per-connection state is stored in shared mutable instance fields, causing each new connection to overwrite the previous connection's protocol object reference. No public exploit or CISA KEV listing exists at time of analysis, but the attack complexity is low and exploitation requires only standard authenticated access to the same UFO instance.
RemediationAI
The primary remediation is to consult and apply the fix referenced in GitHub Security Advisory GHSA-cwwh-p9rv-4pj4 (https://github.com/microsoft/UFO/security/advisories/GHSA-cwwh-p9rv-4pj4). An upstream fix available via PR or commit is referenced there; a released patched version has not been independently confirmed from the available data, so monitor the advisory for a tagged release. The architectural fix requires refactoring UFOWebSocketHandler from a singleton with mutable instance fields to either per-connection handler instances or a connection-keyed registry (e.g., a dict mapping connection ID to protocol object), ensuring responses are always dispatched through the protocol object bound to the originating connection rather than a shared field. As a compensating control where patching is not immediately possible, restrict UFO WebSocket endpoints to single-user access by enforcing a one-active-connection policy at the network or application layer - this eliminates the concurrent-connection precondition but disables multi-user functionality. Alternatively, deploy UFO in isolated per-user instances (e.g., separate processes or containers per user) so the shared handler never services more than one user's connections; this carries operational overhead but fully mitigates the cross-leakage risk.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Microsoft UFO is an open-source Python-based intelligent automation framework for multi-device orchestration, exposing a WebSocket API for real-time agent control. The affected component, UFOWebSocketHandler, is implemented as a singleton - a single shared instance servicing all incoming WebSocket connections. Per-connection protocol objects (which encapsulate the transport channel back to a specific client) are stored in mutable instance fields on this shared object rather than in connection-scoped locals or a per-connection map. CWE-284 (Improper Access Control) captures the root cause: access to a connection's response channel is not properly isolated from other connections. When client B connects after client A, client B's protocol object overwrites the shared field; subsequent responses triggered by client A's actions are then dispatched through client B's transport, exposing A's session data to B. The affected CPE is cpe:2.3:a:microsoft:ufo:*:*:*:*:*:*:*:*, with the specific version identified as 3.0.1-4-ge2626659 (a git-describe reference indicating 4 commits past the 3.0.1 tag at commit e2626659).
Know when Ufo gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
DescriptionCVE.org
Microsoft UFO open-source framework for intelligent automation across devices and platforms. In 3.0.1-4-ge2626659, Microsoft UFO creates one shared UFOWebSocketHandler instance and reuses it for multiple authenticated WebSocket connections. The handler stores per-connection protocol objects in mutable instance fields. Each new WebSocket connection overwrites those fields. Later, message handlers send responses through the shared fields instead of through protocol objects bound to the originating connection. As a result, the most recently connected authenticated client can receive protocol responses that belong to another authenticated client.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
Missing authentication in Microsoft UFO's mobile MCP servers lets an unauthenticated remote attacker fully control an AD
Authenticated command injection in Microsoft UFO's Mobile MCP server (versions prior to 3.0.9) lets a caller who holds a
DNS rebinding against Microsoft UFO's Linux MCP server (all versions prior to 3.0.8) enables an attacker-controlled web
Authenticated role spoofing in Microsoft UFO's WebSocket control plane (version 3.0.1-4-ge2626659) lets any client holdi
Path traversal write in Microsoft UFO (build 3.0.1-4-ge2626659) lets an authenticated client smuggle directory-traversal
Arbitrary OS command execution in Microsoft's UFO intelligent-automation framework (tagged releases up to and including
Argument injection in Microsoft UFO's run_shell tool lets an attacker who can influence an agent workflow execute arbitr
Server-side request forgery in Microsoft UFO's URL validation layer allows unauthenticated remote attackers to bypass th
Session-squatting and memory exhaustion in Microsoft UFO's WebSocket server allow any authenticated client to permanentl
Authenticated denial of service in Microsoft UFO prior to 3.0.9: a caller holding a valid API key can indefinitely block
Authenticated cross-device task-result injection in Microsoft UFO's constellation architecture allows a low-privileged p
Authenticated cross-client stale result replay in Microsoft UFO's WebSocket task handling allows a low-privileged attack
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB