Remote Desktop Gateway Service: Use-after-free allows remote code execution
Summary
A use-after-free flaw (CWE-416) in the Remote Desktop Gateway Service of Windows allows an unauthorized attacker to execute code over the network. The CVSS 3.1 base score is 8.1 (High), with network access, no privileges and no user interaction required, but high attack complexity. A gateway exposed to the internet is the main risk, while a server without the RD Gateway role is not affected by this service.
Affected
- Windows 10 Version 1607: 10.0.14393.0 to before 10.0.14393.9612
- Windows 10 Version 1809: 10.0.17763.0 to before 10.0.17763.9376
- Windows 10 Version 21H2: 10.0.19044.0 to before 10.0.19044.7807
- Windows 10 Version 22H2: 10.0.19045.0 to before 10.0.19045.7807
- Windows 11 Version 23H2: 10.0.22631.0 to before 10.0.22631.7652
- Windows 11 Version 24H2: 10.0.26100.0 to before 10.0.26100.9711
- Windows 11 Version 25H2: 10.0.26200.0 to before 10.0.26200.9711
- Windows 11 Version 26H2: 10.0.26300.0 to before 10.0.26300.9711
- Windows Server 2012 (including Server Core): 6.2.9200.0 to before 6.2.9200.26434
- Windows Server 2012 R2 (including Server Core): 6.3.9600.0 to before 6.3.9600.23470
- Windows Server 2016 (including Server Core): 10.0.14393.0 to before 10.0.14393.9612
Fixed in
- Windows 10 Version 1607 and Windows Server 2016: 10.0.14393.9612 or later
- Windows 10 Version 1809: 10.0.17763.9376 or later
- Windows 10 Version 21H2 and 22H2: 10.0.19044.7807 or later (21H2) and 10.0.19045.7807 or later (22H2)
- Windows 11 Version 23H2: 10.0.22631.7652 or later
- Windows 11 Version 24H2, 25H2 and 26H2: 10.0.26100.9711, 10.0.26200.9711 and 10.0.26300.9711 or later
- Windows Server 2012: 6.2.9200.26434 or later
- Windows Server 2012 R2: 6.3.9600.23470 or later
Workaround
Unknown. No vendor workaround was identified. Install the Microsoft security update.
Exploitation
- The CISA SSVC assessment in the CVE record rates exploitation as none and automatable as no.
- No public proof-of-concept or in-the-wild exploitation was confirmed in the sources reviewed.
- Technical impact is rated total.
Our recommendation
- Check whether any Windows Server or Windows 10 1607 host has the Remote Desktop Gateway role installed.
- Patch first any gateway that is reachable from the internet, then all other affected systems, using the builds listed above.
- Confirm the fixed build and the KB number on the Microsoft Security Update Guide before rollout.
- Restrict access to the gateway endpoint to required users and monitor it for unusual connections until patched.
- Recheck CISA KEV and public exploit sources regularly, as exploitation status can change quickly.
Information from Microsoft (Patch Tuesday October 2026)
- Severity (Microsoft)
- Important
- Impact
- Remote code execution – Remote Desktop Gateway Service
- Status on Patch Tuesday
- Neither exploited nor publicly disclosed
- Exploitability assessment
- Exploitation less likely
- Product family
- Windows, Windows ESU (Extended Security Updates)
- Updates (KB)
- KB5127648, KB5126646, KB5126835, KB5126836, KB5126868, KB5126651
Public exploits
PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.
Research sources
- Microsoft Security Update Guide: CVE-2026-100218 msrc.microsoft.com
- CVE record (CVE List mirror on Vulners) vulners.com
- NVD record mirror on Vulners vulners.com
- Strix CVE summary www.strix.ai
- Zero Day Initiative: October 2026 security update review www.zerodayinitiative.com
Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 1 Nov 2026, 19:42.
Original description (NVD)
Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network.
NVD references (1)
Sources
The tracker combines official, freely usable data sources – updated continuously:
- NVD (NIST) – CVEs, rating (CVSS), affected products
- CISA KEV – vulnerabilities confirmed by CISA as actively exploited
- CISA Vulnrichment – CISA assessment (SSVC) in the official CVE record
- FIRST EPSS – probability of exploitation
- Microsoft MSRC – Patch Tuesday: vulnerabilities, severity, updates
- PoC-in-GitHub – public proof-of-concept repositories
- Metasploit (Rapid7) – modules of the Metasploit Framework
- Exploit-DB (OffSec) – archive of public exploits (links only)
- Patch days: official vendor pages (linked per vendor) (Vendor patch days)
This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.
Affected? We can help.
We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.
