The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-21850

CVE-2022-21850: Windows 10 Remote Desktop RCE Vulnerability

CVE-2022-21850 is a remote code execution vulnerability in Microsoft Windows 10 Remote Desktop Client that allows attackers to execute arbitrary code. This article covers technical details, affected versions, impact analysis, and mitigation.

Published: February 18, 2026

CVE-2022-21850 Overview

CVE-2022-21850 is a Remote Code Execution (RCE) vulnerability affecting the Microsoft Remote Desktop Client across a wide range of Windows operating systems. This vulnerability allows an attacker to execute arbitrary code on a victim's system when the user connects to a malicious Remote Desktop server controlled by the attacker.

The attack requires user interaction, as the victim must initiate a connection to the attacker-controlled server. However, once the connection is established, the attacker can achieve complete system compromise with the same privileges as the authenticated user.

Critical Impact

Successful exploitation enables full remote code execution on affected Windows systems, potentially leading to complete system compromise, data theft, and lateral movement within corporate networks.

Affected Products

  • Microsoft Windows 10 (multiple versions including 1607, 1809, 1909, 20H2, 21H1, 21H2)
  • Microsoft Windows 11 (x64 and ARM64)
  • Microsoft Windows 7 SP1
  • Microsoft Windows 8.1 Enterprise
  • Microsoft Windows Server 2008 R2 SP1/SP2
  • Microsoft Windows Server 2012 and 2012 R2
  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022 and 20H2

Discovery Timeline

  • January 11, 2022 - CVE-2022-21850 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-21850

Vulnerability Analysis

This vulnerability exists within the Remote Desktop Client (mstsc.exe) and related RDP client libraries on Windows systems. The flaw occurs when the Remote Desktop Client processes specially crafted responses from a malicious RDP server. When a user initiates a connection to an attacker-controlled Remote Desktop server, the server can send malformed data that triggers the vulnerability in the client's parsing routines.

The vulnerability requires no authentication on the part of the attacker and exploits the trust relationship inherent in the RDP protocol where clients must process server-provided data. The attack complexity is low, but user interaction is required as the victim must actively connect to the malicious server.

Root Cause

The vulnerability stems from improper handling of data received from Remote Desktop servers within the Windows Remote Desktop Client. When processing certain protocol messages or graphical data from the server, the client fails to properly validate input boundaries or data types, leading to memory corruption conditions that can be leveraged for code execution.

Microsoft has not disclosed the specific technical details of the root cause, categorizing it under "NVD-CWE-noinfo" to limit exploitation before patches are widely deployed.

Attack Vector

The attack vector for CVE-2022-21850 is network-based and follows this general pattern:

  1. Setup: The attacker establishes a malicious Remote Desktop server on infrastructure they control
  2. Delivery: The attacker lures the victim into connecting to the malicious server through social engineering, phishing emails containing RDP connection files, or compromised websites with embedded RDP links
  3. Exploitation: When the victim's Remote Desktop Client connects and begins the RDP handshake, the malicious server sends crafted responses that trigger the vulnerability
  4. Execution: The vulnerability allows the attacker to execute arbitrary code in the context of the user running the Remote Desktop Client

The vulnerability can be exploited through .rdp connection files distributed via email or web downloads, making social engineering a primary delivery mechanism.

Detection Methods for CVE-2022-21850

Indicators of Compromise

  • Unexpected outbound RDP connections (TCP port 3389) to unknown external IP addresses
  • Unusual mstsc.exe process behavior including unexpected child processes or memory allocation patterns
  • Presence of suspicious .rdp files in user download folders or email attachments
  • Crash dumps from the Remote Desktop Client indicating memory corruption

Detection Strategies

  • Monitor for RDP client connections to non-corporate or suspicious external IP addresses using network traffic analysis
  • Implement application whitelisting to control which RDP connection files can be executed
  • Deploy endpoint detection rules to identify anomalous behavior following mstsc.exe execution
  • Analyze email attachments and web downloads for malicious .rdp configuration files

Monitoring Recommendations

  • Enable Windows Event Logging for Remote Desktop Client activity (Event IDs 1024, 1025, 1026 in Microsoft-Windows-TerminalServices-RDPClient/Operational)
  • Configure SIEM alerts for outbound RDP connections to external networks
  • Monitor process creation events where mstsc.exe spawns unexpected child processes
  • Track network connections initiated by RDP client processes to detect connections to known malicious infrastructure

How to Mitigate CVE-2022-21850

Immediate Actions Required

  • Apply the January 2022 Microsoft security updates immediately across all affected Windows systems
  • Block or restrict outbound RDP connections to untrusted networks at the firewall level
  • Educate users about the risks of connecting to unknown Remote Desktop servers or opening unsolicited .rdp files
  • Review and audit existing .rdp connection shortcuts for unauthorized or suspicious server addresses

Patch Information

Microsoft released security patches for CVE-2022-21850 as part of the January 2022 Patch Tuesday updates. The patches address the vulnerability in the Remote Desktop Client across all supported Windows versions.

Organizations should apply the appropriate cumulative update for their Windows version through Windows Update, WSUS, or manual installation from the Microsoft Security Update Guide.

For detailed patch information and download links, refer to the Microsoft Security Advisory for CVE-2022-21850.

Workarounds

  • Restrict RDP client usage to only connect to known and trusted internal servers using firewall rules or Group Policy
  • Configure email security gateways to quarantine or block .rdp file attachments
  • Implement network segmentation to limit the blast radius if exploitation occurs
  • Use Remote Desktop Gateway servers to proxy and inspect RDP connections before reaching internal resources
bash
# Example: Block outbound RDP to external networks via Windows Firewall
netsh advfirewall firewall add rule name="Block External RDP" dir=out action=block protocol=tcp remoteport=3389 remoteip=any

# Example: Group Policy to restrict RDP file associations (requires domain environment)
# Navigate to: Computer Configuration > Preferences > Windows Settings > Registry
# Block .rdp file handler execution for non-administrative users

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechWindows

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability7.89%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • NVD-CWE-noinfo
  • Technical References
  • Microsoft CVE-2022-21850 Patch

  • Microsoft CVE-2022-21850 Advisory
  • Related CVEs
  • CVE-2026-31995: Openclaw Command Injection Vulnerability

  • CVE-2026-25190: Windows GDI RCE Vulnerability

  • CVE-2026-25166: Windows System Image Manager RCE Flaw

  • CVE-2026-25173: Windows RRAS RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English