Werkzeug debugger vulnerable to remote execution when interacting with attacker controlled domain
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | werkzeug | < 3.0.3 | 3.0.3 |
References
- https://github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985
- https://nvd.nist.gov/vuln/detail/CVE-2024-34069
- https://github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692
- https://github.com/pallets/werkzeug
- https://lists.debian.org/debian-lts-announce/2025/02/msg00026.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H4SH32AM3CTPMAAEOIDAN7VU565LO4IR
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HFERFN7PINV4MOGMGA3DPIXJPDCYOEJZ
- https://security.netapp.com/advisory/ntap-20240614-0004
- https://pypi.org/project/werkzeug
- https://github.com/advisories/GHSA-2g68-c3qc-8985
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-352- Platform
- Python (PyPI)
- Package
werkzeug- Disclosed
- 06.05.2024
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2043 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-2g68-c3qc-8985 - CC BY 4.0
Vulnerability history: werkzeug
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 15
- First → latest
- 10.2017 10.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 4
- Medium 9
- Low 1
- Unrated 1
Disclosures per year
- 2017: 1
- 2018: 0
- 2019: 1
- 2020: 1
- 2021: 0
- 2022: 2
- 2023: 3
- 2024: 3
- 2025: 1
- 2026: 3
-
Werkzeug debugger vulnerable to remote execution when interacting with attacker controlled domain this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.