CVE-2026-102598

published 29 Sep 2026 · updated 16 Nov 2026

Werkzeug safe_join() allows Windows special device names

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
pallets<3.1.9

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-102598 severity on Zeptric[![CVE-2026-102598](https://zeptric.io/badge/cve/CVE-2026-102598.svg)](https://zeptric.io/cve/CVE-2026-102598)