Summary
CVE-2026-70187 is a use-after-free vulnerability (CWE-416) in the Remote Desktop Gateway Service on Windows Server. It allows an unauthenticated attacker to execute code over a network. It has a CVSS v3.1 base score of 8.1 (High).
Technical details
- Root cause: use after free (CWE-416) in the Remote Desktop Gateway Service.
- Trigger conditions: the CVE record rates attack complexity as High and lists no privileges or user interaction as required.
- Attack vector: network.
- Impact: code execution by an unauthorized attacker, with high impact on confidentiality, integrity and availability.
Affected software
Standard and Server Core installations of the following (x64) versions are affected:
- Windows Server 2012: 6.2.9200.0 – 6.2.9200.26434
- Windows Server 2012 R2: 6.3.9600.0 – 6.3.9600.23470
- Windows Server 2016: 10.0.14393.0 – 10.0.14393.9612
- Windows Server 2019: 10.0.17763.0 – 10.0.17763.9376
- Windows Server 2022: 10.0.20348.0 – 10.0.20348.5761
- Windows Server 2025: 10.0.26100.0 – 10.0.26100.33650
Severity
CVSS v3.1 base score 8.1 (High): CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Mitigation and recommended actions
- Immediate: install the Microsoft security update for your Windows Server version, as listed in the Microsoft Security Response Center advisory for CVE-2026-70187. Systems running a build above the listed ranges are not in the affected ranges.
- Prioritize servers that run the Remote Desktop Gateway role and are reachable from the internet.
- No workarounds were identified in the sources reviewed. Check the Microsoft advisory for any further guidance.

