Werkzeug is a comprehensive WSGI web application library. Prior to 3.1.9, the safe_join function used by send_from_directory can allow a NUL: special-device path because safe_join checks the Windows device name without first removing an empty NTFS ADS marker. The trigger is that an application runs on Windows with NTFS and serves a user-specified path ending in a special device name such as NUL:. The attack mechanism is that a requested path ends in a Windows special device name with an empty ADS marker. The impact is that the special device opens successfully and the file read hangs indefinitely. This issue is fixed in version 3.1.9.
CVSS
No CVSS.
References
Configurations
No configuration.
History
29 Sep 2026, 16:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-09-29 16:17
Updated : 2026-09-30 19:38
NVD link : CVE-2026-102598
Mitre link : CVE-2026-102598
CVE.ORG link : CVE-2026-102598
JSON object : View
Products Affected
No product.
CWE
CWE-67
Improper Handling of Windows Device Names
