CVE-2024-34069: Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution
Vulnerability summary
CVE-2024-34069 is a high (CVSS 7.5) Cross-Site Request Forgery vulnerability in debian debian_linux. EPSS estimates a 3.40% chance of exploitation in the next 30 days, higher than 88.8% of scored vulnerabilities. 1 public exploit is recorded.
Weaponized exploit (Metasploit, 28-06-2015)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 10Timeline
- 06-05-2024PublishedVulnerability first disclosed.
- 21-02-2025Last modifiedVulnerability information updated.
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 metrics
8 scores · 8 sources · 1 version- OSV · PypiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.40%
Chance of exploitation in the next 30 days
Percentile
89%
Versus all other CVEs
30-day change
No change 0.00 pp
From 3.40% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundPallete Projects Werkzeug Debugger Remote Code Execution
exploit/multi/http/werkzeug_debug_rce
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Suse20 products
- python-Werkzeug&distro=SUSE Enterprise Storage 7.1< 1.0.1-150300.3.8.1
- python-Werkzeug&distro=SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS< 0.14.1-150100.6.9.1
- python-Werkzeug&distro=SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS< 1.0.1-150300.3.8.1
- python-Werkzeug&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 2.3.6-150400.6.9.1 | < 1.0.1-150300.3.8.1
- python-Werkzeug&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 2.3.6-150400.6.9.1 | < 1.0.1-150300.3.8.1
Chainguard13 products
- airflowAll versions (No fix recorded)
- airflow-2< 2.11.1-r0
- airflow-2-bitnami-compatAll versions (No fix recorded)
- airflow-3< 3.2.0-r0
- airflow-3-bitnami-compatAll versions (No fix recorded)
Wolfi9 products
- airflowAll versions (No fix recorded)
- airflow-3< 3.2.0-r0
- airflow-3-bitnami-compatAll versions (No fix recorded)
- airflow-bitnami-compatAll versions (No fix recorded)
- kubeflow-jupyter-web-app< 1.8.0-r7
Opensuse4 products
- python-Werkzeug-doc&distro=openSUSE Leap 15.5< 0.14.1-150100.6.9.1
- python-Werkzeug-doc&distro=openSUSE Leap 15.6< 0.14.1-150100.6.9.1
- python-Werkzeug&distro=openSUSE Leap 15.5< 2.3.6-150400.6.9.1 | < 1.0.1-150300.3.8.1
- python-Werkzeug&distro=openSUSE Leap 15.6< 2.3.6-150400.6.9.1
Debian2 products
- python-werkzeug< 1.0.1+dfsg1-2+deb11u2 | < 2.2.2-3+deb12u1 | < 3.0.3-1
- debian_linuxEOL11.0
Redhat2 products
- python-werkzeug< 0:0.14.1-13.el8ost | < 0:2.0.1-9.el8ost | < 0:2.0.1-7.el9ost | < 0:2.2.3-3.el9
- python3-werkzeug< 0:0.14.1-13.el8ost | < 0:2.0.1-9.el8ost | < 0:2.0.1-7.el9ost | < 0:2.2.3-3.el9
Fedoraproject1 product
- fedoraEOL38 | 40
Mageia1 product
- python-werkzeug< 3.0.3-1.mga9
Pallets1 product
- werkzeug< 3.0.3
Palletsprojects1 product
- werkzeug< 3.0.3
PyPI1 product
- werkzeug< 3.0.3
Ubuntu1 product
- python-werkzeug< 0.10.4+dfsg1-1ubuntu1.2+esm2 | < 0.14.1+dfsg1-1ubuntu0.2+esm1 | < 0.16.1+dfsg1-2ubuntu0.2 | < 2.0.2+dfsg1-1ubuntu0.22.04.2 | < 3.0.1-3ubuntu0.1
12 vendors · 56 products
References
40 links- github.com/pallets/werkzeug/security/advisories/GHSA-2g68-c3qc-8985X Refsource CONFIRMWEBARTICLEREPORTAdvisoryVendor Advisory
- github.com/pallets/werkzeug/commit/3386395b24c7371db11a5b8eaac0c91da5362692X Refsource MISCWEBARTICLEREPORTFIXPatch
Show all 40 references
- github.com/pallets/werkzeugPACKAGE
- pypi.org/project/werkzeugPACKAGE