Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2026-33145

CVE-2026-33145: xrdp AlternateShell RCE Vulnerability

CVE-2026-33145 is a remote code execution flaw in xrdp that allows authenticated users to execute arbitrary commands via unsafe AlternateShell handling. This article covers technical details, affected versions, impact, and mitigation.

Published: April 23, 2026

CVE-2026-33145 Overview

CVE-2026-33145 is a command injection vulnerability in xrdp, an open source RDP server. Versions through 0.10.5 allow an authenticated remote user to execute arbitrary commands on the server due to unsafe handling of the AlternateShell parameter in xrdp-sesman. When the AllowAlternateShell setting is enabled (which is the default when not explicitly configured), xrdp accepts a client-supplied AlternateShell value and executes it via /bin/sh -c during session initialization. This results in shell-interpreted execution of unsanitized, user-controlled input.

Critical Impact

Authenticated attackers can execute arbitrary commands on the xrdp server prior to normal window manager startup, bypassing expected session initialization flows and potentially gaining full control within the authenticated user's security context.

Affected Products

  • xrdp versions through 0.10.5
  • Systems with AllowAlternateShell enabled (default configuration)
  • Linux/Unix servers running xrdp for remote desktop access

Discovery Timeline

  • 2026-04-17 - CVE-2026-33145 published to NVD
  • 2026-04-20 - Last updated in NVD database

Technical Details for CVE-2026-33145

Vulnerability Analysis

This command injection vulnerability (CWE-78) exists in the xrdp-sesman component of xrdp. The vulnerability allows authenticated users to inject and execute arbitrary shell commands through the AlternateShell parameter during RDP session establishment. The attack is network-accessible and requires low privilege authentication, meaning any user with valid RDP credentials can potentially exploit this flaw.

The security impact includes the ability to execute commands within the authenticated user's security context, occurring prior to normal window manager startup. This can bypass expected session initialization flows and operational assumptions that restrict execution to interactive desktop environments, effectively providing a scriptable remote command execution primitive over RDP.

Root Cause

The root cause is the lack of input sanitization for the client-supplied AlternateShell value. When the AllowAlternateShell configuration option is enabled (which is the default behavior when not explicitly configured), xrdp directly passes the user-controlled AlternateShell parameter to /bin/sh -c for execution. This design allows shell metacharacters and command sequences to be interpreted, enabling command injection attacks.

Attack Vector

The attack vector is network-based, requiring the attacker to have valid authentication credentials for the xrdp server. An authenticated user can supply a malicious AlternateShell value during RDP connection establishment. The xrdp-sesman component then executes this value through the shell without proper sanitization, allowing arbitrary command execution.

The attack flow involves:

  1. Establishing an RDP connection to a vulnerable xrdp server
  2. Providing valid authentication credentials
  3. Injecting malicious shell commands via the AlternateShell parameter
  4. Commands execute with the privileges of the authenticated user before the desktop session initializes

Since no verified code examples are available, readers should consult the GitHub Security Advisory for detailed technical information about the exploitation mechanism.

Detection Methods for CVE-2026-33145

Indicators of Compromise

  • Unusual commands executed during RDP session initialization in xrdp-sesman logs
  • Unexpected processes spawned by xrdp-sesman with suspicious command-line arguments
  • Authentication events followed by immediate command execution outside normal desktop workflow
  • Shell command history showing injection patterns in user sessions

Detection Strategies

  • Monitor xrdp-sesman process for child processes with unusual command-line arguments
  • Implement audit logging for all shell commands executed during session establishment
  • Deploy endpoint detection rules to flag command injection patterns in RDP session parameters
  • Review xrdp logs for AlternateShell values containing shell metacharacters such as ;, |, &&, or backticks

Monitoring Recommendations

  • Enable verbose logging in xrdp-sesman to capture session initialization details
  • Configure SIEM rules to alert on suspicious AlternateShell parameter values
  • Implement process monitoring on xrdp servers to detect anomalous command execution patterns
  • Monitor for reconnaissance commands commonly executed after successful exploitation

How to Mitigate CVE-2026-33145

Immediate Actions Required

  • Upgrade xrdp to version 0.10.6 or later immediately
  • Explicitly disable AllowAlternateShell in xrdp configuration if the feature is not required
  • Audit existing xrdp servers for vulnerable versions
  • Review logs for any evidence of prior exploitation attempts

Patch Information

The vulnerability has been fixed in xrdp version 0.10.6. Organizations should update to this version or later to remediate the vulnerability. The patch addresses the unsafe handling of the AlternateShell parameter by implementing proper input sanitization.

For more information, see the GitHub v0.10.6 Release and the GitHub Security Advisory GHSA-rmvv-7633-fg7h.

Workarounds

  • Disable the AllowAlternateShell option in /etc/xrdp/sesman.ini by setting AllowAlternateShell=false
  • Implement network segmentation to restrict RDP access to trusted networks only
  • Enforce strong authentication and limit the number of accounts with RDP access
  • Consider deploying a bastion host or VPN gateway for RDP connections
bash
# Configuration example - Disable AllowAlternateShell in sesman.ini
# Edit /etc/xrdp/sesman.ini and add or modify the following:
[Security]
AllowAlternateShell=false

# Restart xrdp-sesman service after configuration change
sudo systemctl restart xrdp-sesman

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechXrdp

  • SeverityMEDIUM

  • CVSS Score6.3

  • EPSS Probability0.09%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-78
  • Technical References
  • GitHub v0.10.6 Release

  • GitHub Security Advisory GHSA-rmvv-7633-fg7h
  • Related CVEs
  • CVE-2026-35512: xrdp RCE Vulnerability

  • CVE-2026-33516: xrdp Out-of-Bounds Read DoS Vulnerability

  • CVE-2026-33689: xrdp Out-of-Bounds Read Vulnerability

  • CVE-2026-32623: xrdp Buffer Overflow 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