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?
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
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
References
- Linkgithub.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985
- Advisorynvd.nist.gov/vuln/detail/CVE-2024-34069
- Linkgithub.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692
- Packagegithub.com/pallets/werkzeug
- Linkgithub.com/pallets/werkzeug/releases/tag/3.0.3
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/werkzeug/PYSEC-2026-2043.yaml
- Linklists.debian.org/debian-lts-announce/2025/02/msg00026.html
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H4SH32AM3CTPMAAEOIDAN7VU565LO4IR
- Linklists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HFERFN7PINV4MOGMGA3DPIXJPDCYOEJZ
- Linkpypi.org/project/werkzeug
- Linksecurity.netapp.com/advisory/ntap-20240614-0004
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.