CVE-2026-33145xrdp: Authenticated RCE via unsanitized AlternateShell execution in xrdp-sesman
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.
What to do
Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | xrdp | Fix pending | UBUNTU-CVE-2026-33145 | |
| Ubuntu 26.04 | xrdp | Under investigation | UBUNTU-CVE-2026-33145 | |
| Ubuntu 25.10 | xrdp | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-33145 | |
| Ubuntu 24.04 | xrdp | Fix pending | UBUNTU-CVE-2026-33145 | |
| Ubuntu 22.04 | xrdp | Fix pending | UBUNTU-CVE-2026-33145 | |
| Ubuntu 20.04 | xrdp | Fix pending | UBUNTU-CVE-2026-33145 | |
| Ubuntu 18.04 | xrdp | Fix pending | UBUNTU-CVE-2026-33145 | |
| Ubuntu 16.04 | xrdp | Fix pending | UBUNTU-CVE-2026-33145 | |
| Ubuntu 14.04 | xrdp | Fix pending | UBUNTU-CVE-2026-33145 | |
| Debian 14 | xrdp | Fixed | 0.10.6-1 | DEBIAN-CVE-2026-33145 |
| Debian 13 | xrdp | Fixed | 0.10.1-3.1+deb13u2 | DEBIAN-CVE-2026-33145 |
| Debian 12 | xrdp | Fix pending | DEBIAN-CVE-2026-33145 | |
| Alpine Linux 3.24 | xrdp | Fixed | 0.10.6-r0 | ALPINE-CVE-2026-33145 |
| Alpine Linux 3.23 | xrdp | Fixed | 0.10.6-r0 | ALPINE-CVE-2026-33145 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- neutrinolabs xrdp: affected: < 0.10.6
References
- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-rmvv-7633-fg7h
- https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.6
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.