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

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-04-17T20:14:14.048Z
- Modified: 2026-10-26T22:10:00.163Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- neutrinolabs xrdp: < 0.10.6; before 0.10.6

## References

- <https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-rmvv-7633-fg7h> (vendor-advisory)
- <https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.6> (patch, release-notes)

## Sources

- CVE List: [CVE-2026-33145](https://www.cve.org/CVERecord?id=CVE-2026-33145), CVE Terms of Use, modified 2026-04-22
- NVD: [CVE-2026-33145](https://nvd.nist.gov/vuln/detail/CVE-2026-33145), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-33145 · Whole record: https://cve.day/CVE-2026-33145.json · Rebuilt by cve.day 2026-11-25T22:59:18.963Z
