PyPI package

Werkzeug 3.0.6 vulnerabilities, and the version that fixes all of them

Werkzeug 3.0.6 has 4 known vulnerabilities; 3.1.9 fixes all of them.

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

Known vulnerabilities
4
None rated high or critical
Released
Oct 25, 2024
Latest is 3.1.9
Licence
BSD-3-Clause
Pulls in
1 package
Resolved by deps.dev

What to upgrade to

3.1.9 is the closest release with no known vulnerabilities.

  • 3.1.9Upgrade to this

    Fixes all 4 known vulnerabilities and the newest 3.x release and the latest release. Released Sep 27, 2026.

    No known vulnerabilities

3.1.9 came out on Sep 27, 2026. A coding agent trained before then doesn’t know it exists, so it may suggest an older release. AI knowledge cutoff dates

Hand the fix to your coding agent

One task with the upgrade, the file to change and why. Paste it into Claude Code, Cursor or Codex.

Findings

Every advisory for Werkzeug 3.0.6

Known exploited first (CISA KEV), then by how likely they are to be exploited (FIRST EPSS), then by severity. Each id links to its OSV.dev record.

  1. WarningCVE-2026-27199 on OSV.dev (opens in a new tab)GHSA-29vq-49wr-vm6xEPSS: top 55%

    Werkzeug safe_join() allows Windows special device names

    Fixed in 3.1.6. Published Feb 19, 2026.

  2. WarningCVE-2025-66221 on OSV.dev (opens in a new tab)GHSA-hgf8-39gv-g3f2EPSS: top 58%

    Werkzeug safe_join() allows Windows special device names

    Fixed in 3.1.4. Published Dec 2, 2025.

  3. WarningCVE-2026-21860 on OSV.dev (opens in a new tab)GHSA-87hc-h4r5-73f7EPSS: top 61%

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

    Fixed in 3.1.5. Published Jan 8, 2026.

  4. WarningCVE-2026-102598 on OSV.dev (opens in a new tab)GHSA-g6x2-hccm-hh4mEPSS: top 71%

    Werkzeug safe_join() allows Windows special device names

    Fixed in 3.1.9. Published Oct 5, 2026.

Is Werkzeug the only one?

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. Free, no sign-up.

Check your whole repo

How this page is checked

StackPrism asks OSV.dev which advisories affect exactly Werkzeug 3.0.6, merges duplicates filed under several ids, and ranks them with CISA’s Known Exploited Vulnerabilities list and FIRST EPSS. Release dates and deprecation come from deps.dev and PyPI. No AI writes this page: every sentence comes from that data, refreshed every few hours.

Last checked against PyPI, OSV.dev, deps.dev, CISA KEV and FIRST EPSS.