← Vulnerability feed

Vulnerability record · CVE-2026-21860 · published 8 January 2026

CVE-2026-21860: Palletsprojects werkzeug vulnerability

PPalletsprojects · Werkzeug

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.

6.3 CVSS 4.0 Medium EPSS 0.48% · top 60.9% CWE-67 · CWE-67
6.3CVSS 4.0 base score
0.48%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References
17 Jun 2026Last modified by NVD

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: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:

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-21860 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-29361Palletsprojects werkzeug http request smuggling vulnerabilityImproper parsing of HTTP requests in Pallets Werkzeug v2.1.0 and below allows attackers to perform HTTP Request Smuggling using a crafted HTTP reques…EPSS 8.1%7.5CVE-2024-34069Palletsprojects werkzeug cross-site request forgery vulnerabilityWerkzeug is a comprehensive WSGI web application library. The debugger in affected versions of Werkzeug can allow an attacker to execute code on a de…EPSS 3.4%7.5CVE-2023-46136Palletsprojects werkzeug uncontrolled resource consumption vulnerabilityWerkzeug is a comprehensive WSGI web application library. In versions on the 3.x branch prior to 3.0.1 and on the 2.x branch prior to 2.3.8, if an up…EPSS 1.1%7.5CVE-2023-25577Palletsprojects werkzeug allocation without limits vulnerabilityWerkzeug is a comprehensive WSGI web application library. Prior to version 2.2.3, Werkzeug's multipart form data parser will parse an unlimited numbe…EPSS 1.4%7.5CVE-2019-14806Palletsprojects werkzeug vulnerabilityPallets Werkzeug before 0.15.3, when used with Docker, has insufficient debugger PIN randomness because Docker containers share the same machine id.EPSS 2.3%7.5CVE-2019-14322Werkzeug SharedDataMiddleware Windows path traversal via drive namesPallets Werkzeug before 0.15.5 mishandles drive names such as C: in Windows pathnames within SharedDataMiddleware, allowing path traversal. Because W…EPSS 56%analysed6.9CVE-2024-49767Palletsprojects quart uncontrolled resource consumption vulnerabilityWerkzeug is a Web Server Gateway Interface web application library. Applications using `werkzeug.formparser.MultiPartParser` corresponding to a versi…EPSS 1.1%6.3CVE-2026-27199Palletsprojects werkzeug vulnerabilityWerkzeug is a comprehensive WSGI web application library. Versions 3.1.5 and below, the safe_join function allows Windows device names as filenames i…EPSS 0.54%

Source: NIST National Vulnerability Database (record CVE-2026-21860), CISA KEV, FIRST EPSS (scores of 2026-09-27). This page is refreshed as NVD updates the record.