PT-2026-34838 · Freerdp · Freerdp
Medoedus
·
Published
2026-04-24
·
Updated
2026-05-21
·
CVE-2026-40254
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
FreeRDP versions prior to 3.25.0
Description
An off-by-one error exists in the path traversal filter within
channels/drive/client/drive file.c. The contains dotdot() function fails to detect .. when it is the final component of a path without a trailing separator, although it correctly identifies ../ and .. mid-path. A malicious RDP server can exploit this to read, list, or write files one directory above the client's shared folder via RDPDR requests, provided the client connects with drive redirection enabled.Recommendations
Update to version 3.25.0.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Freerdp