CVE-2026-46416

Microsoft UFO shared WebSocket handler state causes cross-client response hijacking

Published May 27, 2026 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The vulnerability arises when the UFO framework reuses a single UFOWebSocketHandler instance across multiple authenticated WebSocket connections. Because the handler stores protocol objects in mutable fields, a new connection overwrites the previous client’s state. Subsequent message handling routes responses through these shared fields, causing responses that belong to one authenticated client to be delivered to another. This results in cross‑client response hijacking, exposing sensitive data or disrupting user sessions.

Affected Systems

Microsoft UFO, version 3.0.1-4-ge2626659, and any subsequent releases built from the same 3.x branch that retain the shared handler implementation. The issue is specific to the UFOWebSocketHandler when used in authenticated contexts.

Risk and Exploitability

The CVSS score of 6.3 indicates moderate risk. There is no EPSS data and the vulnerability is not listed in CISA’s KEV catalog, suggesting it is not currently widely exploited. Based on the description, the attack vector involves a legitimate authenticated client that can establish a WebSocket connection to the targeted service. Once connected, the attacker can trigger message exchanges and receive data intended for other authenticated clients, thereby leaking information between users.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Microsoft UFO to a release that removes the shared UFOWebSocketHandler or corrects per‑connection state handling
  • If an immediate upgrade is unavailable, reconfigure the framework (if supported) to instantiate a new UFOWebSocketHandler for each authenticated connection instead of reusing a shared instance
  • Increase monitoring of WebSocket traffic for anomalous message routing and log response destinations to detect cross‑client leaks

Generated by OpenCVE AI on May 27, 2026 at 23:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Microsoft
Microsoft ufo
Vendors & Products Microsoft
Microsoft ufo
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title Microsoft UFO shared WebSocket handler state causes cross-client response hijacking
Weaknesses CWE-284
CWE-488
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'}

Weaknesses
  • CWE-284

    Improper Access Control

  • CWE-488

    Exposure of Data Element to Wrong Session

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
May 28, 2026, 1:01 PM
Reserved
May 13, 2026, 9:04 PM
Status
Deferred
Published
May 27, 2026, 11:16 PM
Modified
Oct 26, 2026, 12:10 PM