Description
Werkzeug is a comprehensive WSGI web application library. In versions on the 3.x branch prior to 3.0.1 and on the 2.x branch prior to 2.3.8, if an upload of a file that starts with CR or LF and then is followed by megabytes of data without these characters: all of these bytes are appended chunk by chunk into internal bytearray and lookup for boundary is performed on growing buffer. This allows an attacker to cause a denial of service by sending crafted multipart data to an endpoint that will parse it. The amount of CPU time required can block worker processes from handling legitimate requests. This vulnerability has been patched in version 3.0.1 and 2.3.8.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| pallets | werkzeug | >= 3.0.0, < 3.0.1, >= 2.0.0rc1, < 2.3.8 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-werkzeug | 3.0.1-2 | — |
| Debian 13 | python-werkzeug | 3.0.1-2 | — |
| Debian 12 | python-werkzeug | 2.2.2-3+deb12u1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Openshift Ironic 4 | python-werkzeug +1 | 2.0.3-5.el9 | RHSA-2023:7610, RHSA-2023:7477, RHSA-2023:7473 |
| Red Hat OpenStack 17 | python-werkzeug +1 | 2.0.1-6.el9ost | RHSA-2024:0214, RHSA-2024:0189 |
| Red Hat OpenShift 4 | cri-o | 1.25.5-2.rhaos4.12.git0217273.el8 | RHSA-2023:7610 |
| Red Hat OpenShift 4 | haproxy +1 | 2.6.13-2.rhaos4.14.el8 | RHSA-2023:7473 |
| Red Hat OpenShift 4 | kernel-rt +15 | 4.18.0-372.82.1.rt7.241.el8_6 | RHSA-2023:7610 |
| Red Hat OpenShift 4 | openshift +1 | 4.12.0-202311161331.p0.ga52e8df.assembly.stream.el8 | RHSA-2023:7610 |
| Red Hat OpenShift 4 | openshift-clients +1 | 4.12.0-202311221849.p0.gd2ac7e1.assembly.stream.el8 | RHSA-2023:7610 |
| Red Hat OpenShift 4 | perf +30 | 4.18.0-372.82.1.el8_6 | RHSA-2023:7610 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Ceph Storage 8 | ceph +27 | 2:19.2.1-222.el9cp | RHSA-2025:9775 |
| Red Hat Ceph Storage 8 | cephadm-ansible | 1:4.1.4-1.el9cp | RHSA-2025:9775 |
| Red Hat Ceph Storage 8 | liboath +1 | 2.6.12-1.el9cp | RHSA-2025:9775 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 3 | python-Werkzeug | 2.3.6-150400.6.6.1 | SUSE-SU-2023:4288-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Werkzeug | 3.0.1-1.1 | openSUSE-SU-2026:11943-1, openSUSE-SU-2024:13375-1 |
| openSUSE Leap 15.5 | python-Werkzeug | 2.3.6-150400.6.6.1 | SUSE-SU-2023:4288-1 |
| openSUSE Leap 15.4 | python-Werkzeug | 2.3.6-150400.6.6.1 | SUSE-SU-2023:4288-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-werkzeug | 2.3.7-r0 | — |
| Alpine v3.23 | py3-werkzeug | 2.3.7-r0 | — |
| Alpine v3.22 | py3-werkzeug | 2.3.7-r0 | — |
| Alpine v3.21 | py3-werkzeug | 2.3.7-r0 | — |
| Alpine v3.20 | py3-werkzeug | 2.3.7-r0 | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | py3-werkzeug | 2.3.7-r0 | — |
| Alpine v3.18 | py3-werkzeug | 2.3.7-r0 | — |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | python-werkzeug | 3.0.1-1 | — |
| Azure Linux 2 (CBL-Mariner) | python-werkzeug | 2.3.7-1 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | airflow +1 | No fix yet | — |
| Wolfi rolling | airflow-3 | 3.2.0-r0 | — |
| Wolfi rolling | kubeflow-jupyter-web-app | 1.8.0-r2 | — |
| Wolfi rolling | kubeflow-pipelines-visualization-server | 2.4.0-r0 | — |
| Wolfi rolling | kubeflow-volumes-web-app | 1.7.0-r8 | — |
| Wolfi rolling | py3-tensorflow-serving-api | 2.14.1-r1 | — |
| Wolfi rolling | py3-werkzeug | 3.0.1-r0 | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 1 repository
-
JawadPy/WerkGhost ★ 0 · Nov 29, 2025
Exploit for Werkzeug < 3.1.4 (CVE-2023-46136)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | werkzeug | >= 3.0.0, < 3.0.1 | 3.0.1 | GHSA-hrfv-mqp8-q5rw |
| PyPI | werkzeug | >= 2.0.0rc1, < 2.3.8 | 2.3.8 | GHSA-hrfv-mqp8-q5rw |
| PyPI | werkzeug | < 2.3.8 · >= 3.0.0, < 3.0.1 | 2.3.8, 3.0.1 | PYSEC-2023-221 |
Advisories 14
- RHSA-2023:7610 Red Hat Security Advisory: OpenShift Container Platform 4.12.45 packages and security update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2025:9775 Red Hat Security Advisory: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates Red Hat Security Advisories (RHSA) · Oct 16, 2026
- openSUSE-SU-2026:11943-1 python313-Werkzeug-3.1.9-1.1 on GA media SUSE / openSUSE Security Updates · Oct 2, 2026
- RHSA-2024:0214 Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (python-werkzeug) security update Red Hat Security Advisories (RHSA) · Aug 19, 2026
- RHSA-2024:0189 Red Hat Security Advisory: Red Hat OpenStack Platform 17.1 (python-werkzeug) security update Red Hat Security Advisories (RHSA) · Aug 19, 2026
- RHSA-2023:7473 Red Hat Security Advisory: OpenShift Container Platform 4.14.4 packages and security update Red Hat Security Advisories (RHSA) · Aug 19, 2026
- RHSA-2023:7477 Red Hat Security Advisory: OpenShift Container Platform 4.13.24 packages and security update Red Hat Security Advisories (RHSA) · Aug 19, 2026
- WID-SEC-2024-3195 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- openSUSE-SU-2024:13375-1 python310-Werkzeug-3.0.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:4288-1 Security update for python-Werkzeug SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-3377 Dell PowerProtect Data Domain: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- WID-SEC-2023-3024 Red Hat OpenShift: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Jun 26, 2025
- WID-SEC-2024-0662 IBM InfoSphere Information Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2024
- NCSC-2024-0414 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Oct 17, 2024