CVE-2026-137457

Description

A flaw was found in FreeRDP. The shadow server's fast-path input handlers fail to verify whether a remote desktop session has been authenticated and fully activated before processing incoming events. An unauthenticated remote attacker can exploit this issue by sending fast-path input packets prior to completing authentication, allowing them to inject unauthorized keyboard and mouse actions directly into the host desktop session.

Statement

This vulnerability is rated as an Important impact because an unauthenticated remote attacker with access to a running shadow server listener can inject keystrokes and mouse input directly into the host graphical session without supplying credentials, potentially enabling command execution in the context of the logged-in user. FreeRDP is primarily deployed as an RDP client in Red Hat Enterprise Linux, and the affected shadow server component is not enabled or running as a service by default. Risk is therefore confined to specific environments where administrators or users explicitly execute the shadow server to share active X11 desktop sessions across the network.

Mitigation

If running the FreeRDP shadow server (`freerdp-shadow-cli`) is not strictly required, terminate any running instances and avoid starting the utility.

If the shadow server must remain operational, restrict network reachability to the listening port (default TCP 3389) to authorized administrative hosts or trusted networks using firewalld:

1. Remove unrestricted access to the RDP port from public zones:
# firewall-cmd --permanent --remove-service=rdp

2. Restrict access to designated trusted IP addresses or subnets:
# firewall-cmd --permanent --zone=trusted --add-source=<TRUSTED_IP_OR_CIDR>
# firewall-cmd --permanent --zone=trusted --add-port=3389/tcp

3. Reload firewalld to apply the changes:
# firewall-cmd --reload

Warning: Reloading firewall rules will affect active connections and alter network reachability across the host. Note that this mitigation limits exposure to authorized networks but does not prevent input injection by attackers within those trusted boundaries.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score7.5N/A7.5
Attack VectorNetworkN/ANetwork
Attack ComplexityLowN/ALow
Privileges RequiredNoneN/ANone
User InteractionNoneN/ANone
ScopeUnchangedN/AUnchanged
ConfidentialityNoneN/ANone
Integrity ImpactHighN/AHigh
Availability ImpactNoneN/ANone

Vector

Red Hat: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

cve.org: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Understanding the Weakness (CWE)

Access Control,Other

Technical Impact: Gain Privileges or Assume Identity; Varies by Context

Exposing critical functionality essentially provides an attacker with the privilege level of that functionality. The consequences will depend on the associated functionality, but they can range from reading or modifying sensitive data, accessing administrative or other privileged functionality, or possibly even executing arbitrary code.

Frequently Asked Questions

Want to get errata notifications? Sign up here.