Command injection in xrdp - CVE-2026-33145
Published: April 17, 2026
xrdp
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary commands on the server.
The vulnerability exists due to command injection in xrdp-sesman when processing a client-supplied AlternateShell value during session initialization. A remote user can supply a crafted AlternateShell value to execute arbitrary commands on the server.
The issue occurs when the AllowAlternateShell setting is enabled, which is the default if not explicitly configured, and command execution happens prior to normal window manager startup.