Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-84007 Overview
CVE-2026-84007 is an out-of-bounds read vulnerability [CWE-125] in the Microsoft Remote Desktop Gateway (RD Gateway) Service. An authorized attacker can exploit the flaw remotely over the network to disclose sensitive information from service memory. The vulnerability requires low-privilege authentication but no user interaction, and it affects confidentiality without impacting integrity or availability.
Critical Impact
An authenticated remote attacker can read out-of-bounds memory from the RD Gateway Service, potentially exposing sensitive data such as session tokens, credentials, or internal gateway state transiting the service.
Affected Products
- Microsoft Remote Desktop Gateway Service
- Windows Server deployments exposing the RD Gateway role
- Refer to the Microsoft Security Update Guide for the authoritative list of affected builds
Discovery Timeline
- 2026-10-13 - CVE-2026-84007 published to the National Vulnerability Database
- 2026-10-13 - Last updated in NVD database
Technical Details for CVE-2026-84007
Vulnerability Analysis
The vulnerability resides in the Remote Desktop Gateway Service, which proxies Remote Desktop Protocol (RDP) traffic between external clients and internal hosts over HTTPS. An out-of-bounds read occurs when the service processes attacker-influenced input and reads beyond the intended buffer boundary. The resulting leaked bytes can be returned to the authenticated session.
Because RD Gateway handles authentication material, tunneling metadata, and session state, disclosed memory may contain security-relevant data. The flaw does not permit modification or service disruption, but it undermines the confidentiality guarantees of the gateway. Exploitation is scored as network-reachable with low attack complexity and low privilege requirements.
Root Cause
The root cause is an out-of-bounds read [CWE-125], in which the RD Gateway Service references memory outside the bounds of an allocated buffer. This typically stems from missing or incorrect length validation on parsed protocol fields before indexed reads. Microsoft has not published a detailed root-cause analysis; see the Microsoft Security Update Guide for vendor commentary.
Attack Vector
The attack vector is network-based. An attacker with valid credentials and permission to establish an RD Gateway session sends crafted protocol messages to trigger the out-of-bounds read. The service responds with data that includes contents of adjacent memory, which the attacker captures from the authenticated channel.
No exploit code is publicly available at the time of publication, and the vulnerability is not listed on the CISA Known Exploited Vulnerabilities catalog. The EPSS probability is approximately 0.99% as of 2026-10-14.
Detection Methods for CVE-2026-84007
Indicators of Compromise
- Unusual volumes of RD Gateway (TSGateway) requests from a single authenticated user or source IP
- Malformed or oversized RDP-over-HTTPS requests to the RD Gateway endpoint on TCP/443
- Repeated session establishment attempts followed by abnormal disconnects from the same principal
- Unexpected crashes or exception events in the TSGateway service recorded in the Windows Application log
Detection Strategies
- Baseline normal RD Gateway client behavior and alert on deviations in request size, frequency, or header structure
- Correlate authentication events in the Security log with RD Gateway operational logs to spot low-privileged accounts exercising the service abnormally
- Inspect HTTPS traffic at the gateway using TLS termination to validate RDP-over-HTTP framing where policy allows
Monitoring Recommendations
- Forward Microsoft-Windows-TerminalServices-Gateway operational logs to a centralized analytics platform
- Alert on process crashes or faulting module events involving aaedge.dll or related RD Gateway components
- Track per-user RD Gateway connection counts and payload volumes to identify information-harvesting patterns
How to Mitigate CVE-2026-84007
Immediate Actions Required
- Apply the Microsoft security update referenced in the Microsoft Security Update Guide to all Windows Servers running the RD Gateway role
- Audit accounts authorized to connect through RD Gateway and remove unnecessary access
- Enforce multi-factor authentication for all RD Gateway users to raise the bar for abuse of valid credentials
Patch Information
Microsoft has published guidance and updates for CVE-2026-84007 via the Security Update Guide. Administrators should identify affected Windows Server versions in their environment and deploy the corresponding cumulative update. Validate that the RD Gateway service restarts cleanly after patching and confirm connectivity from a controlled client before broad rollout.
Workarounds
- Restrict inbound access to the RD Gateway endpoint to known client networks or VPN-authenticated sources until patching completes
- Place RD Gateway behind a reverse proxy or Web Application Firewall configured to drop malformed RDP-over-HTTPS requests
- Temporarily disable the RD Gateway role on systems where remote access can be served through an alternative, patched path
# Example: list and restrict RD Gateway connection authorization policies via PowerShell
Import-Module RemoteDesktopServices
Get-ChildItem -Path RDS:\GatewayServer\CAP
Set-Item -Path 'RDS:\GatewayServer\CAP\<PolicyName>\Status' -Value 0
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

