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-2021-34535

CVE-2021-34535: Microsoft Remote Desktop Client RCE Flaw

CVE-2021-34535 is a remote code execution vulnerability in Microsoft Remote Desktop Client that enables attackers to execute arbitrary code remotely. This article covers technical details, affected versions, and mitigation.

Published: February 25, 2026

CVE-2021-34535 Overview

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

Critical Impact

Successful exploitation allows attackers to execute arbitrary code with the privileges of the user running the Remote Desktop Client, potentially leading to complete system compromise.

Affected Products

  • Microsoft Remote Desktop Client for Windows
  • Microsoft Windows 10 (multiple versions including 1607, 1809, 1909, 2004, 20H2, 21H1)
  • Microsoft Windows 7 SP1
  • Microsoft Windows 8.1
  • Microsoft Windows RT 8.1
  • Microsoft Windows Server 2008 R2 SP1
  • Microsoft Windows Server 2012 and 2012 R2
  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019

Discovery Timeline

  • August 12, 2021 - CVE-2021-34535 published to NVD
  • July 7, 2025 - Last updated in NVD database

Technical Details for CVE-2021-34535

Vulnerability Analysis

This vulnerability represents a client-side Remote Code Execution flaw in the Microsoft Remote Desktop Client (mstsc.exe). Unlike typical RDP vulnerabilities that target the server component, this vulnerability specifically affects the client application, making it exploitable through social engineering tactics where a victim is enticed to connect to a malicious RDP server.

The vulnerability is categorized without specific CWE information (NVD-CWE-noinfo), but the attack pattern suggests improper handling of server-supplied data during the RDP session establishment or data exchange process. The exploitation requires network access and user interaction, as the victim must initiate a connection to the attacker-controlled server.

With an EPSS score of 4.763% (89th percentile), this vulnerability has a notably higher probability of exploitation compared to most vulnerabilities, indicating elevated real-world risk despite no publicly known exploits being currently available.

Root Cause

The root cause of CVE-2021-34535 lies in the Remote Desktop Client's improper processing of malformed or malicious data sent by an RDP server. When the client receives specially crafted responses during the RDP protocol handshake or session, the vulnerability allows an attacker to corrupt memory or execute arbitrary code in the context of the client process.

The client-side nature of this vulnerability inverts the typical RDP attack model. Instead of attacking exposed RDP servers, threat actors can weaponize this flaw by setting up rogue RDP servers and convincing targets to connect to them through phishing emails containing malicious .rdp files or links.

Attack Vector

The attack vector for CVE-2021-34535 requires network access with user interaction. A typical exploitation scenario involves:

  1. An attacker establishes a malicious RDP server designed to exploit this vulnerability
  2. The attacker crafts a phishing email or social engineering campaign containing a link or .rdp file pointing to the malicious server
  3. When the victim opens the .rdp file or connects to the attacker's server using Remote Desktop Client, the malicious server sends specially crafted data
  4. The vulnerability is triggered, allowing arbitrary code execution on the victim's machine with the privileges of the current user

The vulnerability does not require prior authentication on the client's system, and if the user has administrative privileges, the attacker gains complete control over the compromised system.

Detection Methods for CVE-2021-34535

Indicators of Compromise

  • Unexpected outbound RDP connections (TCP port 3389) to external IP addresses not on corporate whitelists
  • Presence of suspicious .rdp files in email attachments, downloads folders, or temp directories
  • Unusual process spawning from mstsc.exe including command shells or scripting interpreters
  • Memory corruption indicators or crashes in the Remote Desktop Client application

Detection Strategies

  • Monitor for .rdp file downloads or attachments in email security gateways
  • Implement network detection rules for outbound RDP connections to non-corporate destinations
  • Deploy endpoint detection to identify anomalous child processes spawned by mstsc.exe
  • Configure SIEM correlation rules to detect patterns of phishing campaigns distributing .rdp files

Monitoring Recommendations

  • Enable Windows Event Log auditing for process creation events (Event ID 4688) involving mstsc.exe
  • Implement network traffic analysis for RDP protocol anomalies on outbound connections
  • Monitor for registry modifications related to RDP trusted servers or connection settings
  • Review user-reported phishing attempts that reference remote desktop connections or collaboration tools

How to Mitigate CVE-2021-34535

Immediate Actions Required

  • Apply the Microsoft security update from August 2021 Patch Tuesday immediately to all affected systems
  • Block or quarantine .rdp file attachments at email gateways until patching is complete
  • Educate users about the risks of connecting to unknown or unexpected RDP servers
  • Review and restrict outbound RDP connections to approved destinations only through firewall policies

Patch Information

Microsoft has released security updates addressing CVE-2021-34535 as part of their August 2021 security release. Detailed patch information and download links are available through the Microsoft Security Advisory for CVE-2021-34535. Organizations should prioritize deployment of these updates across all affected Windows versions, including workstations with the Remote Desktop Client installed and servers that may have the client component available.

Workarounds

  • Configure email security solutions to strip or quarantine all .rdp file attachments
  • Implement application whitelisting to control which remote desktop applications users can execute
  • Use Group Policy to restrict RDP connections to a predefined list of approved internal servers only
  • Consider deploying network segmentation to prevent direct outbound RDP connections from user workstations
bash
# Example Group Policy configuration to restrict RDP connections
# Navigate to: Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Connection Client
# Enable "Specify corporate resource to which end user may connect" and configure allowed servers
# Alternatively, use firewall rules to block outbound TCP 3389 to non-approved destinations

# PowerShell example to check current RDP Client version
Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\mstsc.exe" | Select-Object -ExpandProperty "(default)"

# Check Windows version to confirm patch applicability
[System.Environment]::OSVersion.Version

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechMicrosoft Remote Desktop Client

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability4.76%

  • 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
  • Vendor Resources
  • Microsoft Security Advisory CVE-2021-34535
  • Related CVEs
  • CVE-2024-38131: Remote Desktop Client RCE Vulnerability

  • CVE-2024-49105: Microsoft Remote Desktop Client RCE Flaw

  • CVE-2025-58718: Remote Desktop Client Use After Free Flaw

  • CVE-2025-48817: Remote Desktop Client Path Traversal Flaw
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