UBUNTU-CVE-2026-102598 (CVE-2026-102598)
Vulnerability from osv_ubuntu – Published: 2026-09-29 16:17 – Updated: 2026-09-29 16:17 – Source websiteWerkzeug 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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-werkzeug",
"binary_version": "0.10.4+dfsg1-1ubuntu1.2+esm2"
},
{
"binary_name": "python3-werkzeug",
"binary_version": "0.10.4+dfsg1-1ubuntu1.2+esm2"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug@0.10.4+dfsg1-1ubuntu1.2+esm2?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.10.4+dfsg1-1ubuntu1",
"0.10.4+dfsg1-1ubuntu1.1",
"0.10.4+dfsg1-1ubuntu1.2",
"0.10.4+dfsg1-1ubuntu1.2+esm1",
"0.10.4+dfsg1-1ubuntu1.2+esm2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-werkzeug",
"binary_version": "0.14.1+dfsg1-1ubuntu0.2+esm1"
},
{
"binary_name": "python3-werkzeug",
"binary_version": "0.14.1+dfsg1-1ubuntu0.2+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug@0.14.1+dfsg1-1ubuntu0.2+esm1?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.12.2+dfsg1-2",
"0.13+dfsg1-1",
"0.14.1+dfsg1-1",
"0.14.1+dfsg1-1ubuntu0.1",
"0.14.1+dfsg1-1ubuntu0.2",
"0.14.1+dfsg1-1ubuntu0.2+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-werkzeug",
"binary_version": "0.16.1+dfsg1-2ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug@0.16.1+dfsg1-2ubuntu0.2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.14.1+dfsg1-4",
"0.15.6+dfsg1-1",
"0.16.0+dfsg1-1",
"0.16.1+dfsg1-1ubuntu1",
"0.16.1+dfsg1-2",
"0.16.1+dfsg1-2ubuntu0.1",
"0.16.1+dfsg1-2ubuntu0.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-werkzeug",
"binary_version": "2.0.2+dfsg1-1ubuntu0.22.04.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug@2.0.2+dfsg1-1ubuntu0.22.04.3?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.0.1+dfsg1-2",
"2.0.2+dfsg1-1",
"2.0.2+dfsg1-1ubuntu0.22.04.1",
"2.0.2+dfsg1-1ubuntu0.22.04.2",
"2.0.2+dfsg1-1ubuntu0.22.04.3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-werkzeug",
"binary_version": "3.0.1-3ubuntu0.2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug@3.0.1-3ubuntu0.2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.2.2-3",
"3.0.1-1",
"3.0.1-2",
"3.0.1-3",
"3.0.1-3ubuntu0.1",
"3.0.1-3ubuntu0.2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-werkzeug",
"binary_version": "3.1.5-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "python-werkzeug",
"purl": "pkg:deb/ubuntu/python-werkzeug@3.1.5-1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.1.3-2",
"3.1.4-1",
"3.1.5-1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2026-102598",
"modified": "2026-09-29T16:17:00Z",
"published": "2026-09-29T16:17:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-102598"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-102598"
},
{
"type": "REPORT",
"url": "https://github.com/pallets/werkzeug/commit/8d77320bcdf3a34941ec06dcf16b03c065cd21b6"
},
{
"type": "REPORT",
"url": "https://github.com/pallets/werkzeug/pull/3309"
},
{
"type": "REPORT",
"url": "https://github.com/pallets/werkzeug/releases/tag/3.1.9"
},
{
"type": "REPORT",
"url": "https://github.com/pallets/werkzeug/security/advisories/GHSA-g6x2-hccm-hh4m"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-102598"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.