Remote Desktop Gateway Service Remote Code Execution Vulnerability (CVE-2026-100218)
A use-after-free flaw exists in the Remote Desktop Gateway Service, which an unauthenticated attacker could trigger by sending a specially crafted packet over the network. Successful exploitation could allow remote code execution on the target system, though a race condition must be won.
Description
Use after free in Remote Desktop Gateway Service allows an unauthorized attacker to execute code over a network.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? Successful exploitation of this vulnerability requires an attacker to win a race condition.
FAQ
How could an attacker exploit this vulnerability? An unauthenticated attacker could exploit this vulnerability by sending a specially crafted packet to an affected service over the network. Successful exploitation could allow the attacker to execute code on the target system. No authentication or user interaction is required.
Remote Desktop Gateway Service
Remote Desktop Gateway Service
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely a use-after-free memory management error in the Remote Desktop Gateway Service that can be triggered by a crafted network packet.
Impact
An unauthenticated attacker could execute code on the target system, but exploitation requires winning a race condition, making it complex.
What the attacker needed
Network access to the service; no authentication required; win a race condition
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A use-after-free is a memory bug where a program keeps using a piece of memory after it has been freed, which can let an attacker control what happens next. Here, an attacker who can send network packets to the Remote Desktop Gateway Service could potentially run their own code on the machine. The catch is that the attacker must win a race, meaning they have to hit a very narrow timing window.
What is Memory corruption?
Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.