Vulnerability

CVE-2026-102598

mediumCVSS 4.0 6.3Published 29 Sep 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /pallets/werkzeug/commit/8d77320bcdf3a34941ec06dcf16b03c065…
  • github.com /pallets/werkzeug/pull/3309
  • github.com /pallets/werkzeug/releases/tag/3.1.9
  • github.com /pallets/werkzeug/security/advisories/GHSA-g6x2-hccm-hh4m

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning