Improper Handling of Windows Device Names in Werkzeug - #VU121123

 

Improper Handling of Windows Device Names in Werkzeug - #VU121123

Published: January 9, 2026


Vulnerability identifier: #VU121123
CSH Severity: Medium
CVSS v4.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: N/A
CWE-ID: CWE-67
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: The Pallets Projects
Affected software:
Werkzeug

Detailed vulnerability 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 that have file extensions or trailing spaces. A remote attacker can cause reading of the file to hang indefinitely.


Remediation

Install updates from vendor's website.

Sources