← Vulnerability feed

Vulnerability record · CVE-2019-14322 · published 28 July 2019

CVE-2019-14322: Werkzeug SharedDataMiddleware Windows path traversal via drive names

PPalletsprojects · Werkzeug

Pallets Werkzeug before 0.15.5 mishandles drive names such as C: in Windows pathnames within SharedDataMiddleware, allowing path traversal. Because Werkzeug is a widely used WSGI utility library, any application serving static files through this middleware on Windows may expose files outside the intended directory.

7.5 CVSS 3.1 High EPSS 56% · top 1.0% CWE-22 · Path traversal
7.5CVSS 3.1 base score, v2 5.0
56%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

In Pallets Werkzeug before 0.15.5, SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityCVSS 7.5 with network reachability, no authentication, and a public exploit reference, though no KEV listing and impact limited to confidentiality.

What it is

Pallets Werkzeug before 0.15.5 mishandles drive names such as C: in Windows pathnames within SharedDataMiddleware, allowing path traversal. Because Werkzeug is a widely used WSGI utility library, any application serving static files through this middleware on Windows may expose files outside the intended directory.

Impact

An unauthenticated attacker can read files outside the served directory, resulting in high confidentiality impact with no integrity or availability effect.

Attack surface

Reachable over the network through HTTP requests to an application using SharedDataMiddleware on Windows; the CVSS vector shows no privileges or user interaction required.

Exploitation

A public exploit reference exists (Packet Storm), and EPSS is 0.55803 at the 98.994th percentile, but the CVE is not listed in CISA KEV.

What to do

  • Upgrade Werkzeug to 0.15.5 or later, which fixes the drive-name handling in SharedDataMiddleware.
  • If immediate upgrade is not possible, avoid exposing SharedDataMiddleware on Windows or restrict it to non-Windows deployments.
  • Place static content behind a reverse proxy that normalizes and rejects paths containing drive letters or traversal sequences.
  • Run the application with least privilege so file reads are limited to what the service account can access.

Detection

  • Monitor HTTP requests for path segments containing drive letters such as C: or traversal sequences like ../.
  • Alert on access to files outside the configured static directory by the web service account.
  • Review web server and application logs for anomalous static file requests returning 200 for unexpected paths.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

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

References

Track CVE-2019-14322 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%6.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%6.3CVE-2026-21860Palletsprojects werkzeug vulnerabilityWerkzeug is a comprehensive WSGI web application library. Prior to version 3.1.5, Werkzeug's safe_join function allows path segments with Windows dev…EPSS 0.48%

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