CVE-2026-32107

xrdp: Fail-open privilege drop in sesexec — child processes may execute as root if setuid fails

Published Apr 17, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
xrdp is an open source RDP server. In versions through 0.10.5, the session execution component did not properly handle an error during the privilege drop process. This improper privilege management could allow an authenticated local attacker to escalate privileges to root and execute arbitrary code on the system. An additional exploit would be needed to facilitate this. This issue has been fixed in version 0.10.6.

Analysis

AI-generated

Technical impact

The vulnerability stems from an improper error handling in the privilege drop logic of xrdp’s session execution component. When an authentication error occurs, the component fails to execute the required setuid operation, leaving child processes running with elevated root privileges. An attacker who has local authenticated access can exploit this fail‑open behavior to gain root and run arbitrary commands, potentially compromising the entire system. The weakness is categorized as CWE‑273 – Failure to Drop Privileges.

Affected Systems

neutrinolabs xrdp below version 0.10.6 is affected. All releases up to 0.10.5 contain the flaw; the vulnerability is mitigated in version 0.10.6 and later.

Risk and Exploitability

The vulnerability has a high CVSS score of 8.8, reflecting its severe impact and difficulty to exploit. The EPSS score of < 1% indicates a very low but non‑zero probability of exploitation, and the flaw is not listed in the CISA KEV catalog. It is intrinsically a local, authenticated vulnerability, implying that an attacker must be able to log into the target system. As the CVE description notes, an additional exploit is required to achieve privilege escalation; the privilege drop failure alone does not automatically grant root, so the flaw can be leveraged only in combination with another exploitation technique, which still underscores the need for prompt remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade xrdp to version 0.10.6 or later, where the privilege drop bug is corrected.
  • Remove the setuid bit from the sesexec binary (chmod u‑s /usr/sbin/xrdp‑sesexec) and configure the service to run as a non‑privileged user; this prevents escalation if privilege drop fails.
  • Apply or enable a mandatory access control policy such as SELinux or AppArmor to restrict sesexec from accessing privileged resources, providing an additional barrier against privilege escalation.

Generated by OpenCVE AI on April 18, 2026 at 20:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4759-1 xrdp security update
Debian DSA Debian DSA DSA-6469-1 xrdp security update
History
Type Values Removed Values Added
CPEs cpe:2.3:a:neutrinolabs:xrdp:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Neutrinolabs
Neutrinolabs xrdp
Vendors & Products Neutrinolabs
Neutrinolabs xrdp
Type Values Removed Values Added
Description xrdp is an open source RDP server. In versions through 0.10.5, the session execution component did not properly handle an error during the privilege drop process. This improper privilege management could allow an authenticated local attacker to escalate privileges to root and execute arbitrary code on the system. An additional exploit would be needed to facilitate this. This issue has been fixed in version 0.10.6.
Title xrdp: Fail-open privilege drop in sesexec — child processes may execute as root if setuid fails
Weaknesses CWE-273
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-273

    Improper Check for Dropped Privileges

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Apr 22, 2026, 3:55 AM
Reserved
Mar 10, 2026, 10:02 PM
Status
Analyzed
Published
Apr 17, 2026, 8:16 PM
Modified
Oct 26, 2026, 9:10 PM
Severity
Important
Public date
Apr 17, 2026, 7:25 PM