CVE-2026-40254: FreeRDP · Off-by-one Error
Affects FreeRDPSource GCVE Database
Not known to be exploited · CVSS 4.2 Medium : upgrade to 3.25.0 when convenient.
Data as of 12 Nov 2026, 00:34 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.2 |
|---|
- Patch
- Available – fixed in 3.25.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 24 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 11 Nov 2026.
What to do
Upgrade FreeRDP to 3.25.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| FreeRDP FreeRDP | Affected
| Fixed in
|
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.