{"answers":{"affected":"3 open source packages ship an affected version, including werkzeug. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-14322 exists.","fix":"Upgrade werkzeug to 0.15.5 or later.","what":"CVE-2019-14322 is a high-severity path traversal vulnerability in n/a, published on 28 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2019-14322 and fix it if it is affected.\n\nWhat it is: CVE-2019-14322 is a high-severity path traversal vulnerability in n/a, published on 28 Jul 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2019-14322 exists.\n\nAffected packages and fixed versions:\n- werkzeug (PyPI): affected all versions; fixed in 0.15.5\n- werkzeug (PyPI): affected all versions; fixed in 0.15.5\n- werkzeug (PyPI): affected all versions; fixed in 0.15.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2019-14322/ (Markdown: https://insights.sbomify.com/CVE-2019-14322/index.md)","id":"CVE-2019-14322","markdown":"https://insights.sbomify.com/CVE-2019-14322/index.md","name":"CVE-2019-14322","record":{"aliases":["GHSA-j544-7q9p-6xp8","PYSEC-2026-1065"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python web library","requires_auth":"none","summary":"Attackers can bypass path restrictions in SharedDataMiddleware on Windows to read arbitrary files via crafted drive names.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"werkzeug","vendor":"palletsprojects"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"In Pallets Werkzeug before 0.15.5, SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames.","ecosystems":["PyPI"],"exploits":{"exploitdb":1,"first_seen":"2021-05-16","github_poc":3,"max_poc_stars":1,"metasploit":0,"nuclei":1,"refs":[{"date":"2021-05-16T13:15:12Z","kind":"github_poc","ref":"https://github.com/faisalfs10x/CVE-2019-14322-scanner","stars":1,"title":"PoC of CVE-2019-14322: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"},{"date":"2021-05-17T07:48:19Z","kind":"github_poc","ref":"https://github.com/faisalfs10x/http-vuln-cve2019-14322.nse","stars":1,"title":"Nmap NSE script to detect CVE-2019-14322 of Pallets Werkzeug path traversal via SharedDataMiddleware mishandles drive names (such as C:) in Windows pathnames"},{"date":"2024-09-19T07:17:01Z","kind":"github_poc","ref":"https://github.com/sergiovks/CVE-2019-14322","stars":1,"title":"Modification of: PoC of CVE-2019-14322: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"},{"date":"2021-07-06","kind":"exploitdb","ref":"50101","stars":null,"title":"Pallets Werkzeug 0.15.4 - Path Traversal"},{"date":null,"kind":"nuclei","ref":"http/cves/2019/CVE-2019-14322.yaml","stars":null,"title":"Pallets Werkzeug \u003c0.15.5 - Local File Inclusion"}],"tier":"weaponised"},"has_fix":true,"headline":"Pallets Werkzeug vulnerable to Path Traversal","id":"CVE-2019-14322","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"path_traversal","year":"2019"},"n_packages":3,"n_references":2,"next":{"headline":"Memory corruption in n/a","id":"CVE-2019-14323"},"packages":[{"ecosystem":"PyPI","fixed":["0.15.5"],"introduced":["0"],"last_affected":[],"package":"werkzeug","purl":null,"source":"GHSA-j544-7q9p-6xp8"},{"ecosystem":"PyPI","fixed":["0.15.5"],"introduced":["0"],"last_affected":[],"package":"werkzeug","purl":"pkg:pypi/werkzeug","source":"GHSA-j544-7q9p-6xp8"},{"ecosystem":"PyPI","fixed":["0.15.5"],"introduced":["0"],"last_affected":[],"package":"werkzeug","purl":"pkg:pypi/werkzeug","source":"PYSEC-2026-1065"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2019-14319"},"products":["n/a"],"published":"2019-07-28","related":[{"cvss_score":9.8,"headline":"Other in n/a","id":"CVE-2022-29361","kev_date_added":null,"published":"2022-05-24"},{"cvss_score":8,"headline":"Werkzeug DoS: High resource usage when parsing multipart/form-data containing a large part with CR/LF character at the beginning","id":"CVE-2023-46136","kev_date_added":null,"published":"2023-10-24"},{"cvss_score":7.5,"headline":"Werkzeug may allow high resource usage when parsing multipart form data with many fields","id":"CVE-2023-25577","kev_date_added":null,"published":"2023-02-14"},{"cvss_score":6.3,"headline":"Werkzeug safe_join() allows Windows special device names","id":"CVE-2026-27199","kev_date_added":null,"published":"2026-02-21"},{"cvss_score":6.3,"headline":"Werkzeug safe_join() allows Windows special device names with compound extensions","id":"CVE-2026-21860","kev_date_added":null,"published":"2026-01-08"},{"cvss_score":6.3,"headline":"Werkzeug safe_join() allows Windows special device names","id":"CVE-2025-66221","kev_date_added":null,"published":"2025-11-29"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"GPL-2.0-or-later","name":"Exploit-DB"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"Attackers can bypass path restrictions in SharedDataMiddleware on Windows to read arbitrary files via crafted drive names.","url":"https://insights.sbomify.com/CVE-2019-14322/"}