/

CVE-2026-55626

Severity:

HIGH RISK

(8.0)

Session Isolation Bypass (CWE-287) in xrdp Xvnc Backend

CVE-2026-55626

Analyzed

Vulnerability type

Category:

Authentication and Session Isolation Weakness

CWE:

CWE-287, CWE-306

Impact:

Unauthorized Access to Other Users' Desktop Sessions

Severity:

HIGH RISK

(8.0)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A session isolation bypass in xrdp's Xvnc backend over UNIX domain sockets allows an authenticated local user to attach to another user's active desktop session.

When Xvnc is launched without sufficient authentication, a local attacker sharing the host can unauthorizedly view or control other users' RDP sessions under specific backend configurations.

Affected context

This vulnerability occurs in xrdp deployments that:

  • Use the Xvnc backend specifically over UNIX domain sockets
  • Allow multiple local users to maintain concurrent RDP sessions on the same host
  • Rely on Xvnc's default launch configuration without additional per-session authentication

Installations using xorgxrdp or Xvnc over TCP sockets, or that implement independent session access controls, are not subject to the described weakness.

Exploit preconditions

  • Attack surface: Local system environment where xrdp is installed and serving multiple user sessions
  • Required access: Valid local account with the ability to authenticate and initiate an xrdp session
  • Trigger point: Initialization of an xrdp session via the Xvnc backend over UNIX domain sockets when Xvnc is spawned without strong per-session authentication or binding
  • Why exploitation is possible: The Xvnc process is launched with insufficient authentication and isolation, allowing a local attacker to attach to or interfere with another user's active desktop session via shared socket access

Why this happens

The underlying issue stems from inadequate enforcement of authentication and authorization when launching Xvnc sessions over UNIX domain sockets.

The backend configuration does not sufficiently bind Xvnc instances to a single authenticated user or enforce per-session access controls, enabling other local users to reuse existing socket-based connections.

This maps to CWE-287: Improper Authentication and CWE-306: Missing Authentication for Critical Function, as access to a critical resource—the remote desktop session—is not fully protected by a robust authentication layer.

Potential impact

  • An attacker could view the graphical desktop of another user's active session.
  • An attacker could control keyboard and mouse input for another user's session.
  • An attacker could access sensitive data displayed or stored within the victim's desktop environment.
  • An attacker could manipulate applications or system settings within another user's session, potentially leading to further compromise.

General mitigation guidance

Effective mitigation focuses on strengthening authentication and isolation around session backends:

  • Prefer backends that provide strong, per-session authentication bindings (such as xorgxrdp or hardened Xvnc configurations).
  • Ensure that each graphical desktop session is tightly bound to the initiating user's identity and cannot be attached to by other local accounts.
  • Isolate session transport channels (including UNIX domain sockets) so they are only accessible to the owning user, using strict file permissions and OS-level access controls.
  • Apply least-privilege principles for session processes, ensuring they do not share common access paths that different users can reuse.
  • Incorporate secure defaults in configuration templates so administrators do not need to manually layer on basic authentication measures.

How teams detect issues like this

Organizations can detect and monitor for similar weaknesses by:

  • Reviewing xrdp and Xvnc configurations for shared or world-accessible UNIX domain sockets or session endpoints.
  • Using static or configuration analysis tools to flag session backends that lack explicit per-user authentication bindings.
  • Incorporating security-focused code reviews around session initialization logic, checking for missing checks on user identity and ownership before attaching to display sessions.
  • Enforcing policies that require authenticated binding between user identities and their session processes and that prohibit shared session transports.
  • Monitoring system logs for unusual patterns such as multiple user identities interacting with the same display or session identifier.

Sources

SourceLink
github.comgithub.com/neutrinolabs/xrdp/releases/tag/v0.10.6.1
github.comgithub.com/neutrinolabs/xrdp/security/advisories/GHSA-m3xx-cpc4-982r

Frequently asked

questions

The issue primarily affects local authenticated users on the same system. While initial access may come through remote RDP login, exploitation relies on a user already being authenticated and able to interact with session backends on the host.

An attacker needs a valid local account with the ability to authenticate to xrdp and initiate a session that uses the Xvnc backend over UNIX domain sockets. They must share the same host where other user sessions are running.

The safest approach is to enforce strong, per-session authentication and isolation for all desktop sessions. This includes binding each Xvnc or equivalent backend process to a single authenticated user and ensuring other users cannot attach to or reuse its communication channels.

Future prevention relies on designing session management around strict identity binding and isolation: treat session backends as critical resources, require explicit authentication for attachment or reconnection, use secure defaults for transport permissions, and routinely audit configuration and code paths responsible for session creation and access control.

Find out what's already
exploitable in your codebase.