CVE-2026-102598
published medium CVSS 4.0 · 6.3Werkzeug safe_join() allows Windows special device names
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pallets | — | werkzeug< 3.1.9 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugaarch64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugppc64le | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugs390x | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python313-Werkzeugx86_64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugaarch64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugppc64le | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugs390x | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | python314-Werkzeugx86_64 | Advisory build | 3.1.9-1.1 | OPENSUSE-SU-2026:11943-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pallets | werkzeug | < 3.1.9 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-67 CWE-67: Improper Handling of Windows Device Names
References
4Provider assertions
2GitHub_M · cna
Werkzeug safe_join() allows Windows special device names
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3bd6f0a6614b68b17b56e38b1ecf49a29ac4e7020bd1125307a8cfd20121677b
- Ingested
- 30 Sep 2026, 15:18:33 UTC
- Source record
- Official CVE record