#VU118856 Improper Handling of Windows Device Names in Werkzeug - CVE-2025-66221
Published: December 1, 2025
Vulnerability identifier: #VU118856
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-66221
CWE-ID: CWE-67
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
Werkzeug
Werkzeug
Software vendor:
The Pallets Projects
The Pallets Projects
Description
The vulnerability allows a remote attacker to gain unauthorized access to otherwise restricted functionality.
The vulnerability exists due to the "safe_join" function allows path segments with Windows device names. A remote attacker can cause reading of the file to hang indefinitely.
Remediation
Install updates from vendor's website.