Skip to main content
Vulnerability Database/CVE-2026-109247

CVE-2026-109247: FreeRDP Path Traversal Vulnerability

CVE-2026-109247 is a path traversal flaw in FreeRDP that allows malicious RDP servers to trick users into copying arbitrary local files. This post explains its technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-109247 Overview

CVE-2026-109247 is a path traversal vulnerability [CWE-22] in FreeRDP versions prior to 3.32.0. The flaw resides in convert_filedescriptors_to_file_list() within winpr/libwinpr/clipboard/synthetic_file.c. The function concatenates server-supplied cFileName values from FileGroupDescriptorW clipboard data into the published local file:// URI without rejecting / or .. sequences. A malicious Remote Desktop Protocol (RDP) server can inject ../ sequences, causing the client to publish paths that escape the expected clipboard staging directory. When the user next pastes clipboard content, the system copies an arbitrary local file readable by the client user instead of the expected remote file.

Critical Impact

A malicious RDP server can trick a connected client into pasting arbitrary local files readable by the client user, enabling targeted information disclosure through clipboard interactions.

Affected Products

  • FreeRDP versions prior to 3.32.0
  • Applications and distributions that embed vulnerable FreeRDP builds
  • WinPR clipboard component (winpr/libwinpr/clipboard/synthetic_file.c)

Discovery Timeline

  • 2026-10-12 - CVE-2026-109247 published to the National Vulnerability Database (NVD)
  • 2026-10-15 - Last updated in NVD database

Technical Details for CVE-2026-109247

Vulnerability Analysis

FreeRDP implements clipboard file transfer by translating RDP FileGroupDescriptorW structures into local file:// URIs that the host desktop environment can consume during paste operations. The convert_filedescriptors_to_file_list() routine in winpr/libwinpr/clipboard/synthetic_file.c takes each cFileName from the server-supplied descriptor and appends it directly to a client-side base path. The function does not reject path separators or parent-directory traversal sequences supplied by the server.

Because the server controls the cFileName field, an attacker-operated RDP server can craft entries that reference files outside the intended clipboard staging directory. The resulting file:// URI points to arbitrary files on the client filesystem that the client user has permission to read. This elevates clipboard sharing from a controlled file transfer into an arbitrary file disclosure primitive scoped to the client user context.

Root Cause

The root cause is missing input validation on untrusted server data before using it in path construction. The code treats cFileName as a trusted leaf filename and performs string concatenation without canonicalization or sanitization. Neither forward slashes nor .. segments are stripped or rejected before the final URI is published to the local clipboard.

Attack Vector

Exploitation requires the user to initiate an RDP session with an attacker-controlled server and to perform a clipboard paste on the client side. The server offers a crafted FileGroupDescriptorW payload containing traversal sequences in cFileName. When the user pastes, the host copies a server-chosen file from the client machine rather than the expected remote file.

For technical details, see the FreeRDP Security Advisory GHSA-c3rh-2hv6-7hf2 and the VulnCheck Advisory on Path Traversal via Clipboard cFileName.

Detection Methods for CVE-2026-109247

Indicators of Compromise

  • RDP sessions to untrusted or unexpected destinations that advertise clipboard file transfer capabilities.
  • Unexpected read access events against sensitive files in user home directories immediately after an RDP paste action.
  • file:// URIs on the local clipboard containing .. segments or absolute paths outside the expected staging directory.

Detection Strategies

  • Inventory FreeRDP and downstream distribution packages to identify versions below 3.32.0.
  • Audit RDP client telemetry for sessions where clipboard redirection is enabled against external or untrusted servers.
  • Correlate clipboard paste operations with subsequent file-read events on sensitive paths to surface anomalous disclosure attempts.

Monitoring Recommendations

  • Log and alert on outbound RDP connections initiated to destinations outside the approved server inventory.
  • Monitor FreeRDP client processes for file access patterns that reach outside the per-session clipboard staging directory.
  • Track package versions of freerdp, freerdp2, and winpr libraries across managed Linux and macOS endpoints.

How to Mitigate CVE-2026-109247

Immediate Actions Required

  • Upgrade FreeRDP to version 3.32.0 or later across all client systems.
  • Rebuild and redistribute any downstream applications that statically link or embed older FreeRDP or WinPR components.
  • Restrict outbound RDP connections to known, trusted servers through network policy or egress firewall rules.

Patch Information

The maintainers addressed the issue in FreeRDP 3.32.0 by validating server-supplied cFileName values before composing the local file:// URI. Review the FreeRDP Security Advisory GHSA-c3rh-2hv6-7hf2 for the authoritative fix commit and backport guidance.

Workarounds

  • Disable clipboard redirection in FreeRDP client invocations by omitting +clipboard or by passing -clipboard on the command line.
  • Avoid initiating RDP sessions to untrusted or unverified servers until patched builds are deployed.
  • Run FreeRDP client sessions under least-privileged user accounts to limit the scope of files readable through a successful traversal.
bash
# Disable clipboard redirection when launching the FreeRDP client
xfreerdp /v:rdp.example.internal /u:analyst -clipboard

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.