CVE-2026-21860: pallets werkzeug
Vulnerability summary
CVE-2026-21860 is a medium (CVSS 6.3) vulnerability in pallets werkzeug. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 39.6% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 08-01-2026PublishedVulnerability first disclosed.
- 08-01-2026Last modifiedVulnerability information updated.
Description
Werkzeug is a comprehensive WSGI web application library. Prior to version 3.1.5, Werkzeug's safe_join function allows path segments with Windows device names that have file extensions or trailing spaces. On Windows, there are special device names such as CON, AUX, etc that are implicitly present and readable in every directory. Windows still accepts them with any file extension, such as CON.txt, or trailing spaces such as CON. This issue has been patched in version 3.1.5.
CVSS metrics
9 scores · 7 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated6.3MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- NVDNIST6.3MediumCVSS: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
- OSV · PypiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.47%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
-0.01 pp
From 0.48% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard12 products
- airflow-2All versions (No fix recorded)
- airflow-3All versions (No fix recorded)
- airflow-core-2All versions (No fix recorded)
- py3.10-ambassadorAll versions (No fix recorded)
- py3.11-ambassadorAll versions (No fix recorded)
Wolfi5 products
- airflow-3All versions (No fix recorded)
- py3.10-ambassadorAll versions (No fix recorded)
- py3.11-ambassadorAll versions (No fix recorded)
- py3.12-ambassadorAll versions (No fix recorded)
- py3.13-ambassadorAll versions (No fix recorded)
Alpine1 product
- py3-werkzeug< 3.1.5-r0
Pallets1 product
- werkzeug< 3.1.5
Palletsprojects1 product
- werkzeug< 3.1.5
PyPI1 product
- werkzeug< 3.1.5
Ubuntu1 product
- python-werkzeugAll versions (No fix recorded)
7 vendors · 22 products
References
10 links- github.com/pallets/werkzeug/security/advisories/GHSA-87hc-h4r5-73f7X Refsource CONFIRMWEBREPORTAdvisoryVendor Advisory
- github.com/pallets/werkzeug/commit/7ae1d254e04a0c33e241ac1cca4783ce6c875ca3X Refsource MISCWEBREPORTFIXPatch
- github.com/pallets/werkzeugPACKAGE
- pypi.org/project/werkzeugPACKAGE