Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-40254— FreeRDP: contains_dotdot() off-by-one allows drive channel path traversal via terminal ..

Quick assessment

Affected
FreeRDP FreeRDP
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

FreeRDP是FreeRDP团队的一款开源的远程桌面协议(RDP)的实现。 FreeRDP 3.25.0之前版本存在安全漏洞,该漏洞源于路径遍历过滤器中的差一错误,可能导致恶意RDP服务器通过RDPDR请求读取、列出或写入客户端共享文件夹上一级目录的文件。以下版本受到影响:3.25.0之前版本。

CVSS 4.2 · Medium EPSS 0.23% · P12
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-40254

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
FreeRDP: contains_dotdot() off-by-one allows drive channel path traversal via terminal ..
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
Off-by-one错误
Source: CVE Program / CVE List V5
Vulnerability Title
FreeRDP 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
FreeRDP是FreeRDP团队的一款开源的远程桌面协议(RDP)的实现。 FreeRDP 3.25.0之前版本存在安全漏洞,该漏洞源于路径遍历过滤器中的差一错误,可能导致恶意RDP服务器通过RDPDR请求读取、列出或写入客户端共享文件夹上一级目录的文件。以下版本受到影响:3.25.0之前版本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
FreeRDP FreeRDP < 3.25.0 -

II. Public POCs for CVE-2026-40254

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-40254

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-40254 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-40254

No comments yet


Leave a comment