Medium severity · published Apr 17, 2026
CVE-2026-33145
xrdp: Authenticated RCE via unsanitized AlternateShell execution in xrdp-sesman
6.3
CVSS
0.4%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
Low
Integrity
Low
Availability
Low
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 29% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
XR
xrdp · neutrinolabs
< 0.10.6 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-33145
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-33145
Patch
https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.6
Vendor Advisory
https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-rmvv-7633-fg7h
More from xrdp
9.8
CVE-2026-41252
xrdp: lib_palette_update Heap Buffer Overflow & RCE
9.8
CVE-2025-68670
xrdp improperly checks bounds of domain string length, which leads to Stack-based Buffer Overflow
9.8
CVE-2024-39917
xrdp allows an ininite number of login attempts
9.8
CVE-2022-23484
xrdp is an open source project which provides a graphical login to remote machines using Microsoft Remote Desktop Protocol (RDP)
9.8
CVE-2022-23480
xrdp is an open source project which provides a graphical login to remote machines using Microsoft Remote Desktop Protocol (RDP)
