CVEfocus › CVE database › CVE-2026-33145

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

CVSS 6.3 MediumEPSS 0.6% (higher than 43% of CVEs)Published 2026-04-17Updated 2026-04-22Assigner: GitHub_M

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.

CWE-78

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

4Fixed
8Fix pending
1Under investigation
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10xrdpFix pendingUBUNTU-CVE-2026-33145
Ubuntu 26.04xrdpUnder investigationUBUNTU-CVE-2026-33145
Ubuntu 25.10xrdpWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-33145
Ubuntu 24.04xrdpFix pendingUBUNTU-CVE-2026-33145
Ubuntu 22.04xrdpFix pendingUBUNTU-CVE-2026-33145
Ubuntu 20.04xrdpFix pendingUBUNTU-CVE-2026-33145
Ubuntu 18.04xrdpFix pendingUBUNTU-CVE-2026-33145
Ubuntu 16.04xrdpFix pendingUBUNTU-CVE-2026-33145
Ubuntu 14.04xrdpFix pendingUBUNTU-CVE-2026-33145
Debian 14xrdpFixed0.10.6-1DEBIAN-CVE-2026-33145
Debian 13xrdpFixed0.10.1-3.1+deb13u2DEBIAN-CVE-2026-33145
Debian 12xrdpFix pendingDEBIAN-CVE-2026-33145
Alpine Linux 3.24xrdpFixed0.10.6-r0ALPINE-CVE-2026-33145
Alpine Linux 3.23xrdpFixed0.10.6-r0ALPINE-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.

References

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.