PyPI package

Werkzeug vulnerabilities by version

The latest release, 3.1.9 (Sep 27, 2026), has no known vulnerabilities. 9 of the 10 most recent releases have known vulnerabilities. OSV.dev lists 15 advisories for Werkzeug; the newest was published on Oct 5, 2026.

PyPI (opens in a new tab) describes it as “The comprehensive WSGI web application library.”

Latest release
3.1.9
Sep 27, 2026, no known vulnerabilities
Downloads last week
54.7M
All versions, from pypistats.org
Advisories on OSV.dev
15
Newest Oct 5, 2026
Licence
BSD-3-Clause

Recent releases

PyPI doesn’t publish downloads per version, so these are the newest releases, each checked against OSV.dev. Open a version for its advisories and what to upgrade to.

VersionKnown vulnerabilities
3.1.9latestSep 27, 2026No known vulnerabilities
3.1.8Apr 2, 20261 known vulnerability, worst rated warning
3.1.7Mar 24, 20261 known vulnerability, worst rated warning
3.1.6Feb 19, 20261 known vulnerability, worst rated warning
3.1.5Jan 8, 20262 known vulnerabilities, worst rated warning
3.1.4Nov 29, 20253 known vulnerabilities, worst rated warning
3.1.3Nov 8, 20244 known vulnerabilities, worst rated warning
3.1.2Nov 4, 20244 known vulnerabilities, worst rated warning
3.1.1Nov 1, 20244 known vulnerabilities, worst rated warning
3.1.0Oct 31, 20244 known vulnerabilities, worst rated warning

Release lines

The newest release of each minor line, from the registry. Werkzeug doesn’t publish support dates we can check.

LineNewest releaseReleased
3.13.1.9Sep 27, 2026
3.03.0.6Oct 25, 2024
2.32.3.8Nov 8, 2023
2.22.2.3Feb 14, 2023
2.12.1.2Apr 28, 2022
2.02.0.3Feb 7, 2022

Newest advisories

The 5 most recently published, with the versions each one affects.

  1. WarningCVE-2026-102598 on OSV.dev (opens in a new tab)GHSA-g6x2-hccm-hh4m

    Werkzeug safe_join() allows Windows special device names

    Affects < 3.1.9. Published Oct 5, 2026.

  2. WarningCVE-2026-27199 on OSV.dev (opens in a new tab)GHSA-29vq-49wr-vm6x

    Werkzeug safe_join() allows Windows special device names

    Affects < 3.1.6. Published Feb 19, 2026.

  3. WarningCVE-2026-21860 on OSV.dev (opens in a new tab)GHSA-87hc-h4r5-73f7

    Werkzeug safe_join() allows Windows special device names with compound extensions

    Affects < 3.1.5. Published Jan 8, 2026.

  4. WarningCVE-2025-66221 on OSV.dev (opens in a new tab)GHSA-hgf8-39gv-g3f2

    Werkzeug safe_join() allows Windows special device names

    Affects < 3.1.4. Published Dec 2, 2025.

  5. WarningCVE-2024-49767 on OSV.dev (opens in a new tab)GHSA-q34m-jh98-gwm2

    Werkzeug possible resource exhaustion when parsing file data in forms

    Affects >= 2.0.0rc1, < 3.0.6. Published Oct 25, 2024.

All 15 advisories are on OSV.dev (opens in a new tab).

Which Werkzeug do you have?

Paste a public GitHub repo or drop your requirements.txt or pyproject.toml and see every vulnerable, end-of-life or deprecated dependency, with one fix task for your coding agent. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism reads every OSV.dev advisory for Werkzeug, merges duplicates filed under several ids, and asks OSV.dev which ones affect each version listed. Releases and their dates come from deps.dev, downloads from pypistats.org. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against OSV.dev, CISA KEV, PyPI, pypistats.org and deps.dev.