CVE-2026-40254

Severity: Important
Published: 2026-04-24

Fix Status by Distribution

Fixed in 5 of 27 tracked Linux releases

Fix evidence last checked: 2026-11-24 20:03 UTC

Get alerted when your releases are fixed
Fixed in:
No fix evidence found:
AlmaLinux 10
AlmaLinux 8
AlmaLinux 9
Debian 11 (Bullseye)
Debian 12 (Bookworm)
Oracle Linux 10
Oracle Linux 8
Oracle Linux 9
Red Hat Enterprise Linux 10
Red Hat Enterprise Linux 7 (Extended Lifecycle Support)
Red Hat Enterprise Linux 8
Red Hat Enterprise Linux 9
Rocky Linux 10
Rocky Linux 8
Rocky Linux 9
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP6
Ubuntu 22.04 LTS (Jammy Jellyfish)
Ubuntu 25.04 (Plucky Puffin)
Ubuntu 25.10 (Questing Quokka)
Ubuntu 26.10 (Stonking Stingray)
Interested in being alerted when these distributions have fixes? Set up an alert.

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.

Exploit evidence

Public proof of concept reported

Last checked: 2026-11-12 00:25 UTC

  • Proof of concept · CISA Coordinator (Assessed 2026-04-24 12:06 UTC)

  • Exploit reference · 134c704f-9b21-4f2e-91b3-4a467353bcc0 · View external evidence (Observed 2026-11-12 00:25 UTC)

NVD evidence for CVE-2026-40254 is reported, not independently verified by Package Alert. It does not establish exploit reliability or applicability to a particular package or environment.