High severity · published May 6, 2024
CVE-2024-34069
Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution
7.5
CVSS
3.4%
EPSS
No
On KEV
Description
Werkzeug is a comprehensive WSGI web application library. 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. This vulnerability is fixed in 3.0.3.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
Required
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.4% · higher than 89% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WE
werkzeug · pallets
< 3.0.3 · source: vendor, NVD, CISA
DL
Debian Linux · Debian
11.0 · source: NVD
FE
Fedora · Fedoraproject
38; 40 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-34069
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-34069
Patch
https://github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692
Vendor Advisory
https://github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985
Mailing List
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/H4SH32AM3CTPMAAEOIDAN7VU565LO4IR/
Mailing List
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HFERFN7PINV4MOGMGA3DPIXJPDCYOEJZ/
Third Party Advisory
https://security.netapp.com/advisory/ntap-20240614-0004/
Mailing List
https://lists.debian.org/debian-lts-announce/2025/02/msg00026.html
More from werkzeug
7.5
CVE-2024-49767
Werkzeug possible resource exhaustion when parsing file data in forms
7.5
CVE-2023-46136
Werkzeug vulnerable to high resource usage when parsing multipart/form-data containing a large part with CR/LF character at the beginning
7.5
CVE-2023-25577
Werkzeug may allow high resource usage when parsing multipart form data with many fields
6.3
CVE-2026-102598
Werkzeug safe_join() allows Windows special device names
5.3
CVE-2026-27199
Werkzeug safe_join() allows Windows special device names
