CVE-2026-102598pallets werkzeug
Medium 6.3 No auth needed
Follow: this CVE · pallets · pallets werkzeug We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 4.0
- 6.3
- EPSS
- —
- Auth required
- No
- Published
- Sep 29, 2026
- Updated
- Sep 30, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-67
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for werkzeug.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | werkzeug |
< 3.1.9 |
3.1.9 |
pip install "werkzeug>=3.1.9" |
| PyPI | werkzeug |
< 3.1.9 |
3.1.9 |
pip install "werkzeug>=3.1.9" |
Per OSV / GitHub Advisories (GHSA-g6x2-hccm-hh4m, PYSEC-2026-4312). Check the version in your lockfile before upgrading.
Affected products
- pallets · werkzeug
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- python313-Werkzeug-3.1.9-1.1 on GA media · SUSE · openSUSE-SU-2026:11943-1 · Oct 1, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.