Skip to content
Fencer Vulns
high 7.5

CVE-2024-34069 json

Werkzeug's improper usage of a pathname and improper CSRF protection results in the remote command execution

published 2024-05-06 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1358 , GHSA-2g68-c3qc-8985 , PYSEC-2026-2043

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.4%
EPSS 3.4% chance of exploitation in 30 days, percentile 88%
public exploits
1
Metasploit

Summary

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.

Patch / fix

  • pypi werkzeug 3.0.3
  • palletsprojects werkzeug 3.0.3
  • python-werkzeug Debian 12 2.2.2-3+deb12u1
  • python-werkzeug Debian 14, Debian 13 3.0.3-1

debian advisories DEBIAN-CVE-2024-34069

  • python-werkzeug Ubuntu 20.04 LTS 0.16.1+dfsg1-2ubuntu0.2
  • python-werkzeug Ubuntu 22.04 LTS 2.0.2+dfsg1-1ubuntu0.22.04.2
  • python-werkzeug Ubuntu 24.04 LTS 3.0.1-3ubuntu0.1
  • python-werkzeug Ubuntu Pro 16.04 LTS 0.10.4+dfsg1-1ubuntu1.2+esm2
  • python-werkzeug Ubuntu Pro 18.04 LTS 0.14.1+dfsg1-1ubuntu0.2+esm1

ubuntu advisories UBUNTU-CVE-2024-34069

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • ceph ceph storage 7.1 2:18.2.1-329.el8cp
  • ceph ceph storage 7.1 2:18.2.1-329.el9cp
  • cephadm ceph storage 7.1 2:18.2.1-329.el9cp
  • liboath ceph storage 7.1 2.6.12-1.el8cp
  • liboath ceph storage 7.1 2.6.12-1.el9cp
  • librbd1 ceph storage 7.1 2:18.2.1-329.el8cp
  • librbd1 ceph storage 7.1 2:18.2.1-329.el9cp
  • librgw2 ceph storage 7.1 2:18.2.1-329.el8cp

red hat advisories RHSA-2025:4664RHSA-2024:10696RHSA-2024:9975RHSA-2024:9976RHSA-2024:5810RHSA-2024:6016

  • python-Werkzeug SLE Module for Package Hub 15 SP6, SLE Module for Package Hub 15 SP5, SLE Module for Basesystem 15 SP6 +12 more 1.0.1-150300.3.8.1
  • python-Werkzeug SLE Module for Python 3 15 SP6, SLE Module for Python 3 15 SP5, SLE High Performance Computing 15 SP4-ESPOS +5 more 2.3.6-150400.6.9.1
  • python-Werkzeug SLE Module for Public Cloud 12 0.12.2-10.16.1
  • python-Werkzeug SLES for SAP 15 SP2, SLES 15 SP2-LTSS, SLE High Performance Computing 15 SP2-LTSS 0.14.1-150100.6.9.1

suse advisories SUSE-SU-2024:1624-2SUSE-SU-2024:1591-2SUSE-SU-2024:1624-1SUSE-SU-2024:1608-1SUSE-SU-2024:1591-1SUSE-SU-2024:1572-1

  • python-Werkzeug openSUSE Tumbleweed 3.1.9-1.1
  • python-Werkzeug openSUSE Tumbleweed 3.0.3-1.1

opensuse advisories openSUSE-SU-2026:11943-1openSUSE-SU-2024:14042-1

  • python-werkzeug Azure Linux 3.0 3.0.3-1
  • python-werkzeug CBL-Mariner 2.0 2.3.7-2

azure linux advisories AZL-40372AZL-40466

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2024-34069 updated cvss 7.5

python-werkzeug: user may execute code on a developer's machine

  • Red Hat Ceph Storage 5 python-werkzeug, python3-werkzeug
    affected: workaround, no fix planned “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
  • Red Hat Ceph Storage 6 python-werkzeug
    affected: workaround, no fix available “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
  • Red Hat Enterprise Linux 7 python-werkzeug Red Hat Enterprise Linux 8 python3-werkzeug Red Hat OpenStack Platform 16.1 python-werkzeug, python3-werkzeug Red Hat OpenStack Platform 16.2 python3-designate, openstack-designate-api, openstack-designate-mdns, openstack-designate-sink, openstack-designate-agent, openstack-designate-common, +3 more
    affected: workaround, no fix planned “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
  • Red Hat OpenStack Platform 18.0 python-httpcore, python-werkzeug Red Hat Quay 3 quay/quay-rhel8
    affected: workaround, no fix available “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
  • Red Hat Storage 3 python-werkzeug Red Hat Update Infrastructure 3 for Cloud Providers python-werkzeug
    affected: workaround, no fix planned “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
  • Red Hat Ironic content for Red Hat OpenShift Container Platform 4.12 python-werkzeug 2.0.3-6.el9, python3-werkzeug 2.0.3-6.el9
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2024:5810
  • Red Hat Ironic content for Red Hat OpenShift Container Platform 4.15 python-werkzeug 2.2.3-3.el9, python3-werkzeug 2.2.3-3.el9
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2024:6016
  • Red Hat Ceph Storage 7.1 Tools ceph 18.2.1-329.el8cp, ceph 18.2.1-329.el9cp, liboath 2.6.12-1.el8cp, liboath 2.6.12-1.el9cp, cephadm 18.2.1-329.el9cp, librbd1 18.2.1-329.el8cp, +42 more
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2025:4664
show 5 more
  • Red Hat OpenShift Container Platform 4.14 rhcos 414.92.202409041930-0, openshift4/ose-cli v4.14.0-202408260910.p0.g44b3ac2.assembly.stream.el8, openshift4/ose-pod v4.14.0-202409041843.p0.g03a907c.assembly.stream.el8, openshift4/ose-tests v4.14.0-202408260910.p0.g3a80e94.assembly.stream.el8, openshift4/ose-console v4.14.0-202409051039.p0.gbeb6e56.assembly.stream.el8, openshift4/ose-coredns v4.14.0-202408260910.p0.gfdd6037.assembly.stream.el8, +194 more
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2024:6406
  • Red Hat OpenShift Container Platform 4.16 openshift4/ose-ironic-rhel9 v4.16.0-202408051209.p0.ga428def.assembly.stream.el9
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2024:5107
  • Red Hat OpenStack Platform 16.2 python-werkzeug 0.14.1-13.el8ost, python3-werkzeug 0.14.1-13.el8ost
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2024:10696
  • Red Hat OpenStack Platform 17.1 python-werkzeug 2.0.1-7.el9ost, python-werkzeug 2.0.1-9.el8ost, python3-werkzeug 2.0.1-7.el9ost, python3-werkzeug 2.0.1-9.el8ost
    fixed: vendor fix “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.” RHSA-2024:9975
  • Red Hat Ironic content for Red Hat OpenShift Container Platform 4.12 python-jinja2 3.0.1-3.el9.1, python3-jinja2 3.0.1-3.el9.1 Red Hat Ceph Storage 7.1 Tools rhceph/grafana-rhel9 11.5.2-5, rhceph/keepalived-rhel9 2.2.8-64, rhceph/snmp-notifier-rhel9 1.2.1-114, rhceph/rhceph-haproxy-rhel9 2.4.22-66, rhceph/rhceph-promtail-rhel9 v3.0.0-33 Red Hat OpenShift Container Platform 4.12 cri-o 1.25.5-26.rhaos4.12.git635413a.el8, kernel-rt 4.18.0-372.119.1.rt7.279.el8_6, kernel-rt-kvm 4.18.0-372.119.1.rt7.279.el8_6, kernel-rt-core 4.18.0-372.119.1.rt7.279.el8_6, kernel-rt-modules 4.18.0-372.119.1.rt7.279.el8_6, kernel-rt-debug-kvm 4.18.0-372.119.1.rt7.279.el8_6, +12 more Red Hat OpenShift Container Platform 4.15 perf 5.14.0-284.82.1.el9_2, rtla 5.14.0-284.82.1.el9_2, bpftool 7.0.0-284.82.1.el9_2, kernel 5.14.0-284.82.1.el9_2, kernel-64k 5.14.0-284.82.1.el9_2, kernel-core 5.14.0-284.82.1.el9_2, +74 more Red Hat OpenShift Container Platform 4.16 rhcos 416.94.202408062045-0, openshift4/ose-cli-rhel9 v4.16.0-202408021139.p0.ge8fb3c0.assembly.stream.el9, openshift4/ose-pod-rhel9 v4.16.0-202408062008.p0.g6abe8a1.assembly.stream.el9, openshift4/ose-sdn-rhel9 v4.16.0-202408021139.p0.g5b658c4.assembly.stream.el9, openshift4/ose-tests-rhel9 v4.16.0-202408070337.p0.g83fcc4d.assembly.stream.el9, openshift4/ose-tools-rhel9 v4.16.0-202408070337.p0.ge8fb3c0.assembly.stream.el9, +39 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (Metasploit exploit/multi/http/werkzeug_debug_rce)
  2. Published

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

3.40% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi werkzeug
<3.0.3
3.0.3

Affected products

  • pallets werkzeug
  • palletsprojects werkzeug

Classification

Weakness
  • CWE-352 Cross-Site Request Forgery

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.