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-2024-38131

CVE-2024-38131: Remote Desktop Client RCE Vulnerability

CVE-2024-38131 is a remote code execution vulnerability in Microsoft Remote Desktop Client's Clipboard Virtual Channel Extension that allows attackers to execute arbitrary code. This article covers technical details, affected versions, impact, and mitigation steps.

Updated: January 22, 2026

CVE-2024-38131 Overview

CVE-2024-38131 is a Remote Code Execution (RCE) vulnerability affecting the Clipboard Virtual Channel Extension in Microsoft Remote Desktop Client and multiple versions of Windows operating systems. This vulnerability allows a remote attacker to execute arbitrary code on target systems by exploiting weaknesses in how clipboard data is processed during Remote Desktop Protocol (RDP) sessions.

The Clipboard Virtual Channel Extension facilitates clipboard sharing between local and remote systems during RDP connections. When an attacker can induce a user to connect to a malicious RDP server, they can exploit this vulnerability to achieve code execution with the privileges of the connecting user.

Critical Impact

This vulnerability enables remote code execution through a network-based attack vector, requiring only user interaction to connect to a malicious server. Successful exploitation could result in complete compromise of confidentiality, integrity, and availability on the affected system.

Affected Products

  • Microsoft Remote Desktop Client for Windows
  • Microsoft Windows 10 (versions 1507, 1607, 1809, 21H2, 22H2)
  • Microsoft Windows 11 (versions 21H2, 22H2, 23H2, 24H2)
  • Microsoft Windows Server 2008 (SP2 and R2 SP1)
  • Microsoft Windows Server 2012 (including R2)
  • Microsoft Windows Server 2016
  • Microsoft Windows Server 2019
  • Microsoft Windows Server 2022 (including 23H2)

Discovery Timeline

  • August 13, 2024 - CVE-2024-38131 published to NVD
  • July 7, 2025 - Last updated in NVD database

Technical Details for CVE-2024-38131

Vulnerability Analysis

This vulnerability resides within the Clipboard Virtual Channel Extension component, which is responsible for synchronizing clipboard content between local and remote systems during RDP sessions. The weakness is classified under CWE-591 (Sensitive Data Storage in Improperly Locked Memory), indicating issues with how sensitive data or memory structures are handled during clipboard operations.

The vulnerability requires user interaction—specifically, a user must initiate an RDP connection to a malicious server controlled by an attacker. Once connected, the attacker can craft malicious clipboard data that, when processed by the vulnerable component, leads to arbitrary code execution on the client system. The attack succeeds without requiring any authentication from the attacker's perspective.

Root Cause

The root cause stems from improper handling of memory during clipboard data processing in the Virtual Channel Extension. When clipboard content is transferred between the remote server and the local client, insufficient validation or improper memory locking allows an attacker to manipulate memory in ways that lead to code execution. The CWE-591 classification suggests that sensitive data stored in memory may not be properly protected, enabling exploitation through crafted clipboard payloads.

Attack Vector

The attack is network-based and follows this general exploitation pattern:

  1. The attacker sets up a malicious RDP server configured to exploit the clipboard vulnerability
  2. The attacker uses social engineering to convince a victim to connect to the malicious server (e.g., phishing emails with RDP connection files, compromised legitimate servers)
  3. When the victim establishes an RDP connection, the malicious server sends specially crafted clipboard data
  4. The vulnerable Clipboard Virtual Channel Extension processes this data improperly
  5. This processing flaw allows the attacker to achieve arbitrary code execution with the victim's privileges

The vulnerability does not require prior authentication by the attacker and can be triggered through user interaction alone. The impact affects confidentiality, integrity, and availability of the compromised system.

Detection Methods for CVE-2024-38131

Indicators of Compromise

  • Unexpected RDP connections to unfamiliar or suspicious external IP addresses
  • Anomalous process spawning from mstsc.exe (Remote Desktop Client) or related RDP processes
  • Unusual clipboard-related activity or memory access patterns in RDP client processes
  • Presence of .rdp files directing users to unknown or suspicious servers

Detection Strategies

  • Monitor for unusual outbound RDP connections, particularly to external IP addresses not previously seen in network traffic
  • Implement application-level monitoring on mstsc.exe and related RDP client processes to detect anomalous behavior such as unexpected child processes or memory operations
  • Deploy email security controls to detect and block phishing attempts containing .rdp files or links to malicious RDP servers
  • Utilize EDR solutions to monitor for exploitation indicators in clipboard-related system calls

Monitoring Recommendations

  • Enable enhanced logging for Remote Desktop connections including destination IPs and connection metadata
  • Configure SIEM rules to alert on RDP connections to IP addresses outside of known/trusted ranges
  • Monitor endpoint telemetry for process anomalies originating from the Remote Desktop Client
  • Review security logs for failed or suspicious RDP authentication patterns that may indicate reconnaissance

How to Mitigate CVE-2024-38131

Immediate Actions Required

  • Apply the security updates released by Microsoft for all affected products immediately
  • Review and restrict RDP client usage to trusted servers only through Group Policy or firewall rules
  • Educate users about the risks of connecting to untrusted RDP servers, particularly when prompted via email or web links
  • Consider disabling clipboard redirection in RDP configurations where it is not required

Patch Information

Microsoft has released security updates addressing CVE-2024-38131. The official security advisory and patches are available through the Microsoft Security Update Guide. Organizations should prioritize applying these updates across all affected Windows client and server systems, as well as the Remote Desktop Client application.

Apply updates through Windows Update, WSUS, or your organization's patch management solution. Verify that updates are successfully installed by checking the installed update history on each system.

Workarounds

  • Disable clipboard redirection for RDP connections via Group Policy: navigate to Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Device and Resource Redirection and enable "Do not allow Clipboard redirection"
  • Restrict outbound RDP connections at the network perimeter to only approved internal systems or trusted external partners
  • Block .rdp file attachments at the email gateway to prevent phishing-based delivery of malicious connection files
  • Implement application control policies to restrict which users or systems can launch the Remote Desktop Client
bash
# Group Policy configuration to disable clipboard redirection
# Path: Computer Configuration > Administrative Templates > Windows Components > 
#       Remote Desktop Services > Remote Desktop Session Host > 
#       Device and Resource Redirection
# Setting: Do not allow Clipboard redirection = Enabled

# Alternative: Registry-based mitigation
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows NT\Terminal Services" /v fDisableClip /t REG_DWORD /d 1 /f

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 Probability1.49%

  • 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
  • CWE-591

  • NVD-CWE-noinfo
  • Vendor Resources
  • Microsoft Security Update Guide CVE-2024-38131
  • Related CVEs
  • CVE-2024-49105: Microsoft Remote Desktop Client RCE Flaw

  • CVE-2021-34535: 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