xrdp: Authenticated RCE via unsanitized AlternateShell execution in xrdp-sesman
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| neutrinolabs | xrdp | before 0.10.6 | 0.10.6 | Patch available | CNA |
- xrdp Vendorneutrinolabs Affected before 0.10.6 Fixed in 0.10.6 Patch available CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:neutrinolabs:xrdp:*:*:*:*:*:*:*:* | before 0.10.6 | Vulnerable | neutrinolabs |
- cpe:2.3:a:neutrinolabs:xrdp:*:*:*:*:*:*:*:* Versions before 0.10.6 Vulnerable ·neutrinolabs
Remediation
- Fix · CNA xrdp (neutrinolabs) Fixed in 0.10.6
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2026-33145
References
More neutrinolabs Xrdp vulnerabilities
- TI-2025-42163 xrdp improperly checks bounds of domain string length, which leads to Stack-based Buffer Overflow CVSS 3.1CRITICAL 9.8
- TI-2026-29860 xrdp: lib_palette_update Heap Buffer Overflow & RCE CVSS 3.1CRITICAL 9.8
- TI-2022-07540 Buffer Overflow in xrdp CVSS 3.1CRITICAL 9.8
- TI-2022-07539 Buffer Overflow occurs in xrdp CVSS 3.1CRITICAL 9.8
- TI-2022-07538 Out of Bound Write in xrdp CVSS 3.1CRITICAL 9.8
- TI-2022-07537 Buffer Overflow in xrdp CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-33145 · CVE Program
- CVE-2026-33145 · NVD
- FIRST EPSS
- CVE-2026-33145 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences