CVE & CISA-KEV Catalog

CVE-2026-40254

MEDIUM
4.2
CVSS v3
NVD

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.

How to fix

Remediation Available
freerdpNVD
Affected:< 3.25.0Fixed in:3.25.0CVE-2026-40254derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionRequired
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Exploit Intelligence

0.20%probability of exploitation in 30 days
10thpercentile

Low risk: more likely to be exploited than 10% of all known CVEs.

References

Exploit1
Embed a live status badge for CVE-2026-40254
CVE-2026-40254 severity badge

Markdown

[![CVE-2026-40254](https://tridentstack.com/cve/badge/CVE-2026-40254.svg)](https://tridentstack.com/cve/CVE-2026-40254)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-40254"><img src="https://tridentstack.com/cve/badge/CVE-2026-40254.svg" alt="CVE-2026-40254"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-04-27.