PyPI (Python)Worst: High14 advisories

werkzeug: known vulnerabilities

werkzeug has 14 reviewed security advisories in the GitHub Advisory Database — 4 high, 9 moderate, 1 low. The most recent was published 2026-09-29. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the werkzeug versions running across your servers, containers and images, and ranks what to patch first.

How to fix werkzeug

Upgrade werkzeug to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade werkzeug (pin werkzeug>=3.1.9)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (14)

Werkzeug safe_join() allows Windows special device names Moderate CWE-67 — Affected: before 3.1.9. Fixed in 3.1.9. Published 2026-09-29. GHSA-g6x2-hccm-hh4m · CVE-2026-102598
Werkzeug safe_join() allows Windows special device names Moderate CWE-67 — Affected: before 3.1.6. Fixed in 3.1.6. Published 2026-02-21. GHSA-29vq-49wr-vm6x · CVE-2026-27199
Werkzeug safe_join() allows Windows special device names with compound extensions Moderate 5.3 CWE-67 — Affected: before 3.1.5. Fixed in 3.1.5. Published 2026-01-08. GHSA-87hc-h4r5-73f7 · CVE-2026-21860
Werkzeug safe_join() allows Windows special device names Moderate CWE-67 — Affected: before 3.1.4. Fixed in 3.1.4. Published 2025-11-29. GHSA-hgf8-39gv-g3f2 · CVE-2025-66221
Werkzeug possible resource exhaustion when parsing file data in forms Moderate 7.5 CWE-400 — Affected: from 2.0.0rc1 up to 3.0.6. Fixed in 3.0.6. Published 2024-10-25. GHSA-q34m-jh98-gwm2 · CVE-2024-49767
Werkzeug debugger vulnerable to remote execution when interacting with attacker controlled domain High 7.5 CWE-352 — Affected: before 3.0.3. Fixed in 3.0.3. Published 2024-05-06. GHSA-2g68-c3qc-8985 · CVE-2024-34069
Werkzeug DoS: High resource usage when parsing multipart/form-data containing a large part with CR/LF character at the beginning Moderate 5.7 CWE-400 CWE-787 — Affected: from 2.0.0rc1 up to 2.3.8. Fixed in 2.3.8. Published 2023-10-25. GHSA-hrfv-mqp8-q5rw · CVE-2023-46136
Incorrect parsing of nameless cookies leads to __Host- cookies bypass Low 2.6 CWE-20 — Affected: before 2.2.3. Fixed in 2.2.3. Published 2023-02-14. GHSA-px8h-6qxv-m22q · CVE-2023-23934
High resource usage when parsing multipart form data with many fields High 7.5 CWE-400 CWE-770 — Affected: before 2.2.3. Fixed in 2.2.3. Published 2023-02-14. GHSA-xg9f-g7g7-2323 · CVE-2023-25577
Pallets Werkzeug vulnerable to Path Traversal High 7.5 CWE-22 — Affected: before 0.15.5. Fixed in 0.15.5. Published 2019-07-28. GHSA-j544-7q9p-6xp8 · CVE-2019-14322
Pallets Werkzeug cross-site scripting vulnerability Moderate 6.1 CWE-79 — Affected: before 0.11.11. Fixed in 0.11.11. Published 2017-10-23. GHSA-h2fp-xgx6-xh6f · CVE-2016-10516

Find werkzeug across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.