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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-17 · Modified: 2026-04-22
- Aliases: UBUNTU-CVE-2026-33145, DEBIAN-CVE-2026-33145, ALPINE-CVE-2026-33145
- Record: https://cvemate.com/vulnerability/CVE-2026-33145 · JSON: https://cvemate.com/vulnerability/CVE-2026-33145/json

## Description

```text
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.
```

## Signals

- CVSS: 6.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- EPSS: 0.378%, percentile 33.902%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine xrdp (Alpine Linux): \< 0.10.6-r0
- debian xrdp (Debian): All versions (No fix recorded) \| \< 0.10.1-3.1+deb13u2 \| \< 0.10.6-1
- ubuntu xrdp (Ubuntu): All versions (No fix recorded)
- neutrinolabs xrdp: \< 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>
- <https://ubuntu.com/security/CVE-2026-33145>
- <https://www.cve.org/CVERecord?id=CVE-2026-33145>
- <https://security-tracker.debian.org/tracker/CVE-2026-33145>
- <https://security.alpinelinux.org/vuln/CVE-2026-33145>

---

Data as of 2026-12-05T03:06:55.736Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
