PT-2025-48363

CVE-2025-66221

·

Published

2025-11-29

·

Updated

2026-10-07

Description by

CVSS 4.0
6.3
Medium
MetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions Werkzeug versions prior to 3.1.4
Description The safe join function in Werkzeug versions prior to 3.1.4 improperly handles path segments containing Windows device names. On Windows systems, special device names like CON and AUX are present in every directory. The send from directory function utilizes safe join to serve files from user-specified paths. When a request path includes a Windows device name, file opening succeeds, but reading the file will cause the application to hang indefinitely. This occurs because the operating system attempts to access a device rather than a regular file.
Recommendations Update to Werkzeug version 3.1.4 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-HGF8-39GV-G3F2
CLEANSTART-2026-AZ09261
CLEANSTART-2026-EI28722
CLEANSTART-2026-HP19968
CLEANSTART-2026-IR98353
CLEANSTART-2026-MR94452
CLEANSTART-2026-NL78203
CLEANSTART-2026-WQ85001
CLEANSTART-2026-WU03167
ECHO-7D05-D296-CA8F
OPENSUSE-SU-2025:15848-1
PYSEC-2026-2046
Found an issue in the description? Have something to add? Feel free to write us 👾