HighGHSA-2g68-c3qc-8985CVE-2024-34069PYSEC-2026-2043

Werkzeug debugger vulnerable to remote execution when interacting with attacker controlled domain

Published 6 May 2024 · Updated 18 Nov 2026

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

Affected package

Affected
<3.0.3
Fixed in
3.0.3
Update to the fixed version for your release line, for example:pip install 'werkzeug>=3.0.3'

Details

The debugger in affected versions of Werkzeug can allow an attacker to execute code on a developer's machine under some circumstances. This requires the attacker to get the developer to interact with a domain and subdomain they control, and enter the debugger PIN, but if they are successful it allows access to the debugger even if it is only running on localhost. This also requires the attacker to guess a URL in the developer's application that will trigger the debugger.

Is GHSA-2g68-c3qc-8985 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected werkzeug, and gives you the command that fixes it.

More advisories for werkzeug

  • MediumCVE-2026-102598Werkzeug safe_join() allows Windows special device names · 5 Oct 2026
  • MediumCVE-2026-27199 Werkzeug safe_join() allows Windows special device names · 19 Feb 2026
  • MediumCVE-2026-21860 Werkzeug safe_join() allows Windows special device names with compound extensions · 8 Jan 2026
  • MediumCVE-2025-66221Werkzeug safe_join() allows Windows special device names · 2 Dec 2025
  • MediumCVE-2024-49767Werkzeug possible resource exhaustion when parsing file data in forms · 25 Oct 2024
  • MediumCVE-2024-49766Werkzeug safe_join not safe on Windows · 25 Oct 2024
All 15 advisories for werkzeug

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.