CVE catalog

CVE-2026-33145

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

[CVE catalog]

Severity
Medium · CVSS 6.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.36% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianxrdpsid0.10.6.1-3fixed
Debianxrdpforky0.10.6.1-3fixed
Debianxrdptrixie0.10.1-3.1+deb13u2fixed
Debianxrdptrixie-security0.10.1-3.1+deb13u2fixed
Debianxrdpbookworm0.9.21.1-1+deb12u2vulnerable
Debianxrdpbookworm-security0.9.21.1-1+deb12u3vulnerable
CpexrdpNot reportedNot reportedvulnerable
CpexrdpNot reported0.10.6fixed
CpexrdpNot reported0.10.6fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianxrdpsourcesid0.10.6-1not yet assignedNot reported[1134339]
Debianxrdpsourceforky0.10.6-1not yet assignedNot reported[1134339]
Debianxrdpsourcetrixie0.10.1-3.1+deb13u2not yet assignedNot reported[1134339]
Debianxrdpsourcebookworm(unfixed)not yet assignedNot reported[1134339]
CpexrdpcpeNot reported0.10.6Not reportedNot reportedNot reported
CpexrdpcpeNot reported0.10.6Not reportedNVD-CVE-2026-33145Not reported

[Debian bug #1134339]

Notes

[bookworm] xrdp: Intrusive to backport

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [xrdp]Affected
    Details (6)
    • 0.9.21.1-1+deb12u2 · amd64 · bookworm

      Affected

      nvd · xrdp · debian · bookworm; nvd · xrdp · debian · 12

    • 0.9.21.1-1+deb12u2 · arm64 · bookworm

      Affected

      nvd · xrdp · debian · bookworm; nvd · xrdp · debian · 12

    • 0.9.24-5~bpo12+1 · amd64 · bookworm-backports

      Affected

      nvd · xrdp · debian · bookworm; nvd · xrdp · debian · 12

    • 0.9.24-5~bpo12+1 · arm64 · bookworm-backports

      Affected

      nvd · xrdp · debian · bookworm; nvd · xrdp · debian · 12

    • 0.9.21.1-1+deb12u3 · amd64 · bookworm-security

      Affected

      nvd · xrdp · debian · bookworm; nvd · xrdp · debian · 12

    • 0.9.21.1-1+deb12u3 · arm64 · bookworm-security

      Affected

      nvd · xrdp · debian · bookworm; nvd · xrdp · debian · 12

[Debian 13 (Trixie)]

  • [xrdp]Affected
    Details (5)
    • 0.10.1-3.1+deb13u1 · amd64 · trixie

      Affected · Fixed: 0.10.1-3.1+deb13u2

      nvd · xrdp · debian · 13

    • 0.10.1-3.1+deb13u1 · arm64 · trixie

      Affected · Fixed: 0.10.1-3.1+deb13u2

      nvd · xrdp · debian · 13

    • 0.10.1-3.1+deb13u1 · amd64 · trixie-security · Historical version

      Affected · Fixed: 0.10.1-3.1+deb13u2

      nvd · xrdp · debian · 13

    • 0.10.1-3.1+deb13u2 · amd64 · trixie-security

      Fixed · Fixed: 0.10.1-3.1+deb13u2

      nvd · xrdp · debian · 13

    • 0.10.1-3.1+deb13u2 · arm64 · trixie-security

      Fixed · Fixed: 0.10.1-3.1+deb13u2

      nvd · xrdp · debian · 13

Observed:

References