Important CVSS 7 EPSS 0.00186 🔬 Patch diffed 2026-06 archive

Executive Summary

Concurrent execution using shared resource with improper synchronization ('race condition') in UI Automation Manager (uiamanager.dll) allows an authorized attacker to elevate privileges locally.

Overview

7
CVSS HIGH
Important
MS Severity
Not Exploited
MS Exploit Status
Exploitation Unlikely
MS Exploit Likelihood
Category Elevation of Privilege
Released Jun 9 2026
Last Updated Jun 9 2026
Publicly Disclosed No
CISA KEV Not Listed
Known Exploits None Known
EPSS Score 0.00186 — 0.08483 percentile
NVD CVSS 7 HIGH — matches MSRC

CVSS Vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
ATTACK VECTOR
Local
ATTACK COMPLEXITY
High
PRIVILEGES REQUIRED
Low
USER INTERACTION
None
SCOPE
Unchanged
CONFIDENTIALITY
High
INTEGRITY
High
AVAILABILITY
High
EXPLOIT CODE MATURITY
Unproven
REMEDIATION LEVEL
Official Fix
REPORT CONFIDENCE
Confirmed
Temporal Score: 6.1

EPSS Score

0.00186
probability of exploitation in the next 30 days
0.08483 percentile - updated 2026-08-14
View on FIRST.org

Affected Products

12 affected products
Product KB Article Severity Impact Restart Required
Windows 11 Version 23H2 for ARM64-based Systems 5093998 (Security Update) Important Elevation of Privilege Yes
Windows 11 Version 23H2 for x64-based Systems 5093998 (Security Update) Important Elevation of Privilege Yes
Windows 11 Version 24H2 for ARM64-based Systems 5094126 (Security Update) Important Elevation of Privilege Yes
Windows 11 Version 24H2 for x64-based Systems 5094126 (Security Update) Important Elevation of Privilege Yes
Windows 11 Version 25H2 for ARM64-based Systems 5094126 (Security Update) Important Elevation of Privilege Yes
Windows 11 Version 25H2 for x64-based Systems 5094126 (Security Update) Important Elevation of Privilege Yes
Windows 11 Version 26H1 for ARM64-based Systems 5095051 (Security Update) Important Elevation of Privilege Yes
Windows 11 version 26H1 for x64-based Systems 5095051 (Security Update) Important Elevation of Privilege Yes
Windows Server 2022 5094128 (Security Update) Important Elevation of Privilege Yes
Windows Server 2022 (Server Core installation) 5094128 (Security Update) Important Elevation of Privilege Yes
Windows Server 2025 5094125 (Security Update) Important Elevation of Privilege Yes
Windows Server 2025 (Server Core installation) 5094125 (Security Update) Important Elevation of Privilege Yes

Patches

5 patches
Article Type Restart
5093998 Security Update Yes
5094126 Security Update Yes
5095051 Security Update Yes
5094128 Security Update Yes
5094125 Security Update Yes

Patch Diff

ghidriff · uiamanager.dll (KB5094126)

Race condition (CWE-362) in the Windows UI Automation Manager uiamanager.dll shared automation-connection / VAIL-container map, local EoP (low integrity -> medium integrity). uiamanager.dll brokers UI Automation connections across processes / app-container (VAIL) boundaries; it tracks automation endpoints and container named pipes in a shared map (ThreadSafeMap<GUID, wil::com_ptr<IWeakReference>>). Operations that add (UiaManagerImpl::CreateAutomationConnection), look up (GetEndpointProcessInfo) and remove (RemoveNamedPipeFromVailContainer / RemoveNamedPipe) entries ran concurrently. PRE: access to that shared map was not synchronized, so concurrent add/remove/lookup could race - corrupting the map or using a stale/invalid entry - a race exploitable by a low-integrity (e.g. sandboxed) process to elevate to medium integrity (AC:H). Diff of uiamanager.dll 10.0.26100.8521 -> .8655 (Jun 9 2026, KB5094126) confirms the fix: gated behind CFR flag Feature_2358244664, access to the shared map is serialized with a mutex - ThreadSafeMap operations now take std::_Mutex_base::lock / _Mtx_unlock, RemoveNamedPipeFromVailContainer acquires the mutex around the removal, and CreateAutomationConnection uses a critical section - so concurrent map operations no longer race.

Pre-patch version 10.0.26100.8521 Download
Post-patch version 10.0.26100.8655 Download
Loading diff…
Select a function to see its diff.
View full diff report View RCA report

Root Cause Analysis

CVE-2026-45597 — Windows UI Automation Manager uiamanager.dll Unsynchronized Automation-Connection Map → Race Condition


Summary

Product Windows — uiamanager.dll (UI Automation Manager)
CVE ID CVE-2026-45597
Impact Elevation of Privilege (low integrity → medium integrity)
MSRC severity Important
CVSS 7.0 / 6.1 — CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
CWE CWE-362: Race Condition (improper synchronization of a shared resource)
Delivery Local — concurrent UI Automation connection operations (race)
KB / Fixed build KB5094126 — uiamanager.dll 10.0.26100.8655 (Win11 24H2 x64)
Patch Date June 9, 2026 (2026-Jun)
Pre-patch binary uiamanager.dll 10.0.26100.8521 — SHA256 77ecb65f6e26b8e6fc7d4c3adf7ea52a822d22ee5a9d2d09c250d3678b247d37
Post-patch binary uiamanager.dll 10.0.26100.8655 — SHA256 cfb6356001ac7b1fb51e2224fecfdd57acf384fa8b3dfdc4b3c295fbcc787be6
Feature flag Feature_2358244664 — the fix is CFR-gated
Exploitability Exploitation Unlikely; not publicly disclosed; not exploited (per MSRC)

Product Description

uiamanager.dll is the UI Automation Manager, which brokers UI Automation connections across processes and app-container (VAIL) boundaries. It tracks automation endpoints and container named pipes in a shared map (ThreadSafeMap<_GUID, wil::com_ptr<IWeakReference>>). Entries are added by UiaManagerImpl::CreateAutomationConnection, looked up by GetEndpointProcessInfo, and removed by RemoveNamedPipeFromVailContainer / RemoveNamedPipe.


Vulnerability Summary

Pre-patch, access to that shared map was not synchronized. Concurrent add/remove/lookup operations could therefore run at once, racing on the map — corrupting it or using a stale/invalid entry (CWE-362). Because the manager brokers automation connections across integrity/container boundaries, a low-integrity (e.g. sandboxed) process could win the race to elevate to medium integrity (per the MSRC FAQ); AC:H reflects the need to win the race.


Prerequisites and Constraints

  • Local, low-privileged / low-integrity (PR:L, AV:L); AC:H — must win a race between concurrent operations on the automation-connection map.
  • Drive CreateAutomationConnection / RemoveNamedPipeFromVailContainer / GetEndpointProcessInfo concurrently on the same map.
  • Result: the shared map is corrupted / a stale entry is used.

Vulnerability Details

Root Cause

The shared automation-connection / container map was mutated and read by concurrent operations without a lock, so add/remove/lookup could race.

The patch (confirmed — diff, .8521 → .8655)

Gated behind Feature_2358244664, access to the shared map is serialized with a mutex / critical section:

// ThreadSafeMap<_GUID, com_ptr<IWeakReference>> (10.0.26100.8655) — PATCHED (from the diff)
std::_Mutex_base::lock(map_mutex);
... map insert / lookup / erase ...
_Mtx_unlock(map_mutex);

// UiaManagerImpl::RemoveNamedPipeFromVailContainer (.8655) — PATCHED
if (Feature_2358244664__private_IsEnabled()) {
    std::_Mutex_base::lock(map_mutex);          // *** serialize removal ***
    ... remove named pipe / container entry ...
    _Mtx_unlock(map_mutex);
}

// UiaManagerImpl::CreateAutomationConnection — uses a CRITICAL_SECTION around the insert

With the map operations taking the mutex (and connection creation under a critical section), concurrent add/remove/lookup no longer race, closing the condition.

Patch Completeness Assessment

CFR-gated behind Feature_2358244664. The serialization runs only when the flag is enabled; the original unsynchronized path still ships when disabled. Verify Feature_2358244664 is enabled to confirm the fix is live.


Detection Guidance

Behavioural. Rapid/concurrent UI Automation connection create/remove operations (especially from low-integrity / app-container processes); use-after-free or map-corruption crashes in uiamanager!UiaManagerImpl::RemoveNamedPipeFromVailContainer / CreateAutomationConnection on unpatched/flag-disabled builds.

Config. The fix is CFR-gated — confirm Feature_2358244664 is enabled.


References

  • MSRC advisory — CVE-2026-45597 (UI Automation Manager Elevation of Privilege), released 2026-06-09, KB5094126.
  • Full binary diff: /data/patch_diffs/uiamanager_dll-cve-2026-45597-ghidriff.md

Attack Path

Concurrent add/remove/lookup on the UI Automation connection map races, corrupting shared state

Attack path for CVE-2026-45597 Concurrent add/remove/lookup on the UI Automation connection map races, corrupting shared state 01 — ENTRY A low-integrity process drives UI Automation Manager connection operations uiamanager.dll CreateAutomationConnection / GetEndpointProcessInfo / RemoveNamedPipeFromVailContainer access a shared map of automation endpoints / container pipes. AV:L/PR:L/AC:H (race). 02 — CONTROLLED INPUT Issues concurrent add/remove/lookup on the same map Two operations touch the shared ThreadSafeMap<GUID, IWeakReference> at once. 03 — MISSING CHECK Shared map access unsynchronized (CWE-362) Concurrent modification/lookup corrupts the map or uses a stale/invalid entry. 04 — PATH Corrupted/stale automation-connection state is used The race lets a low-integrity caller influence cross-process automation-connection state. 05 — PRIMITIVE Race in UI Automation Manager -> EoP (low -> medium integrity) The Jun 2026 fix (Feature_2358244664) serializes the map with a mutex / critical section.

Derived from the patch delta: the checks added by the vendor identify which fields crossed a trust boundary unvalidated. Reachability and privilege are taken from the call chain in the RCA report.

Exploits & PoC

Detection Rules

Acknowledgments

Anonymous