# CVE-2026-40254: freerdp3-shadow-x11: FreeRDP is a free implementation of the Remote Desktop Protocol

CVE-2026-40254 is fixed in 34 products on 1 platform, first by DEBIAN-CVE-2026-40254, released April 24, 2026. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2026-40254
- Priority: Routine
- CVSS: 6.1 (Medium)
- EPSS: 0.0020
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 23, 2026

## Description

FreeRDP is a free implementation of the Remote Desktop Protocol. Versions prior to 3.25.0 have an off-by-one in the path traversal filter in `channels/drive/client/drive_file.c`. The `contains_dotdot()` function catches `../` and `..\` mid-path but misses `..` when it's the last component with no trailing separator. A rogue RDP server can read, list, or write files one directory above the client's shared folder through RDPDR requests. This requires the victim to connect with drive redirection enabled. Version 3.25.0 patches the issue.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | freerdp amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | freerdp opensuse-leap 16.0 | 3.26.0-160000.1.1 | [OPENSUSE-SU-2026:21116-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2026-21116-1.md) | Jun 20, 2026 |
| Linux | freerdp sles 15.7 | 3.10.3-150700.3.17.1 | [SUSE-SU-2026:3562-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-3562-1.md) | Aug 10, 2026 |
| Linux | freerdp sles 16.0 | 3.26.0-160000.1.1 | [SUSE-SU-2026:22194-1](https://patchblox.com/security/data/fix/linux/suse-su-2026-22194-1.md) | Jun 20, 2026 |
| Linux | freerdp-debuginfo amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | freerdp-debugsource amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | freerdp-devel amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | freerdp-libs amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | freerdp-libs-debuginfo amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | freerdp-proxy Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp-proxy 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp-proxy-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp-proxy-modules Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp-proxy-modules 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp-proxy-modules-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp-sdl Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp-sdl 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp-sdl-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp-server amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | freerdp-server-debuginfo amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | freerdp-shadow-x11 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp-shadow-x11 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp-shadow-x11-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp-wayland Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp-wayland 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp-wayland-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp-x11 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp-x11 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp-x11-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp3 Debian 13.5 (trixie) | 3.15.0+dfsg-2.1+deb13u3 | [DEBIAN-CVE-2026-40254](https://patchblox.com/security/data/fix/linux/debian-cve-2026-40254.md) | Apr 24, 2026 |
| Linux | freerdp3 Debian 14 | 3.25.0+dfsg-1 | [DEBIAN-CVE-2026-40254](https://patchblox.com/security/data/fix/linux/debian-cve-2026-40254.md) | Apr 24, 2026 |
| Linux | freerdp3-proxy Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp3-proxy 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp3-proxy-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp3-proxy-modules Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp3-proxy-modules 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp3-proxy-modules-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp3-sdl Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp3-sdl 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp3-sdl-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp3-shadow-x11 Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [freerdp3-shadow-x11 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-freerdp3-shadow-x11-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | freerdp3-shadow-x11 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp3-shadow-x11 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp3-shadow-x11-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp3-wayland Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [freerdp3-wayland 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-freerdp3-wayland-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | freerdp3-wayland Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp3-wayland 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp3-wayland-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | freerdp3-x11 Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [freerdp3-x11 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-freerdp3-x11-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | freerdp3-x11 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [freerdp3-x11 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-freerdp3-x11-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | libfreerdp-client3-3 Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [libfreerdp-client3-3 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libfreerdp-client3-3-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | libfreerdp-client3-3 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [libfreerdp-client3-3 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libfreerdp-client3-3-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | libfreerdp-server-proxy3-3 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [libfreerdp-server-proxy3-3 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libfreerdp-server-proxy3-3-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | libfreerdp-server3-3 Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [libfreerdp-server3-3 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libfreerdp-server3-3-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | libfreerdp-server3-3 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [libfreerdp-server3-3 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libfreerdp-server3-3-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | libfreerdp-shadow-subsystem3-3 Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [libfreerdp-shadow-subsystem3-3 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libfreerdp-shadow-subsystem3-3-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | libfreerdp-shadow-subsystem3-3 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [libfreerdp-shadow-subsystem3-3 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libfreerdp-shadow-subsystem3-3-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | libfreerdp-shadow3-3 Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [libfreerdp-shadow3-3 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libfreerdp-shadow3-3-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | libfreerdp-shadow3-3 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [libfreerdp-shadow3-3 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libfreerdp-shadow3-3-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | libfreerdp3-3 Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [libfreerdp3-3 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libfreerdp3-3-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | libfreerdp3-3 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [libfreerdp3-3 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libfreerdp3-3-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | libwinpr amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | libwinpr-debuginfo amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | libwinpr-devel amzn 2023 | 2:3.6.3-1.amzn2023.0.11 | [ALAS2023-2026-1643](https://patchblox.com/security/data/fix/linux/alas2023-2026-1643.md) | May 11, 2026 |
| Linux | libwinpr-tools3-3 Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [libwinpr-tools3-3 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libwinpr-tools3-3-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | libwinpr-tools3-3 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [libwinpr-tools3-3 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libwinpr-tools3-3-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | libwinpr3-3 Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [libwinpr3-3 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-libwinpr3-3-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | libwinpr3-3 Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [libwinpr3-3 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-libwinpr3-3-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | winpr-utils Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [winpr-utils 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-winpr-utils-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |
| Linux | winpr3-utils Ubuntu 24.04.5 LTS (noble) | 3.30.0+dfsg-0ubuntu0.24.04.1 | [winpr3-utils 3.30.0+dfsg-0ubuntu0.24.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-noble-winpr3-utils-3.30.0-dfsg-0ubuntu0.24.04.1.md) | Jul 23, 2026 |
| Linux | winpr3-utils Ubuntu 26.04.1 LTS (resolute) | 3.30.0+dfsg-0ubuntu0.26.04.1 | [winpr3-utils 3.30.0+dfsg-0ubuntu0.26.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-winpr3-utils-3.30.0-dfsg-0ubuntu0.26.04.1.md) | Nov 7, 2026 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
