CVE-2026-33145: xrdp: Authenticated RCE via unsanitized AlternateShell execution in xrdp-sesman

Published Apr 17, 2026
·
Updated

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.

Affected Software

2 affected components
xrdp xrdp<=0.10.5
Neutrinolabs Xrdp<0.10.6

Event History

Apr 17, 2026
CVE Published
via MITRE·08:14 PM
Data Sourced
via MITRE·08:14 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:16 PM
RemedyDescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-33145?

CVE-2026-33145 has been assigned a high severity rating due to potential remote code execution by authenticated users.

2

How do I fix CVE-2026-33145?

To fix CVE-2026-33145, upgrade to xrdp version 0.10.6 or later.

3

Who is affected by CVE-2026-33145?

CVE-2026-33145 affects all versions of xrdp up to and including 0.10.5.

4

What type of vulnerability is CVE-2026-33145?

CVE-2026-33145 is an authenticated remote code execution (RCE) vulnerability.

5

What component is vulnerable in CVE-2026-33145?

The vulnerability in CVE-2026-33145 lies in the unsafe handling of the AlternateShell parameter in xrdp-sesman.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203