Is werkzeug 3.1 vulnerable?

PyPI · 10 releases from 3.1.0 to 3.1.9 · latest werkzeug is 3.1.9 · checked 18 Nov 2026

No known advisories in the last release

werkzeug 3.1.9, the last 3.1 release, has no known advisories. 4 advisories affect earlier 3.1.x releases, so update to 3.1.9.

Update within 3.1:pip install 'werkzeug>=3.1.9'

Is your project on an affected werkzeug?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 3.1.x, affecting earlier releases

  • MediumCVE-2026-102598GHSA-g6x2-hccm-hh4m5 Oct 2026

    Werkzeug safe_join() allows Windows special device names

    Affected
    <3.1.9
    Fixed in
    3.1.9
  • MediumCVE-2026-27199GHSA-29vq-49wr-vm6x19 Feb 2026

    Werkzeug safe_join() allows Windows special device names

    Affected
    <3.1.6
    Fixed in
    3.1.6
  • MediumCVE-2026-21860GHSA-87hc-h4r5-73f78 Jan 2026

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

    Affected
    <3.1.5
    Fixed in
    3.1.5
  • MediumCVE-2025-66221GHSA-hgf8-39gv-g3f22 Dec 2025

    Werkzeug safe_join() allows Windows special device names

    Affected
    <3.1.4
    Fixed in
    3.1.4

Every werkzeug 3.1.x release

Affected: 3.1.0 to 3.1.8. 3.1.9 is not affected.

VersionKnown advisories
werkzeug 3.1.9None
werkzeug 3.1.8CVE-2026-102598
werkzeug 3.1.7CVE-2026-102598
werkzeug 3.1.6CVE-2026-102598
werkzeug 3.1.5CVE-2026-102598, CVE-2026-27199
werkzeug 3.1.4CVE-2026-102598, CVE-2026-27199, CVE-2026-21860
werkzeug 3.1.3CVE-2026-102598, CVE-2026-27199, CVE-2026-21860, CVE-2025-66221
werkzeug 3.1.2CVE-2026-102598, CVE-2026-27199, CVE-2026-21860, CVE-2025-66221
werkzeug 3.1.1CVE-2026-102598, CVE-2026-27199, CVE-2026-21860, CVE-2025-66221
werkzeug 3.1.0CVE-2026-102598, CVE-2026-27199, CVE-2026-21860, CVE-2025-66221

Which of your client projects are still on werkzeug 3.1?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact werkzeug version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other werkzeug versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.