patchminder
Proof of concept · GitHub CVE-2023-46136

Denial of servicein pallets werkzeug.

Published 24 Oct 2023 · Updated 20 May 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 8.0
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.3% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.3.8, 3.0.1
In plain words

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.

What to do now
  • Upgrade werkzeug to 2.3.8, 3.0.1 or later, whichever matches your release line.
  • Upgrade Werkzeug (PyPI) to 2.3.8, 3.0.1 or later, whichever matches your release line.
  • Upgrade werkzeug (PyPI) to 2.3.8, 3.0.1 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
werkzeug
3.0.0 to before 3.0.1
3.0.1
CVE record
werkzeug
2.0.0rc1 to before 2.3.8
2.3.8
CVE record
Werkzeug (PyPI)
3.0.0 to before 3.0.1
3.0.1
GitHub advisory
Werkzeug (PyPI)
2.0.0rc1 to before 2.3.8
2.3.8
GitHub advisory
werkzeug (PyPI)
before 2.3.8
2.3.8
GitHub advisory
werkzeug (PyPI)
3.0.0 to before 3.0.1
3.0.1
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 16 Oct 2023
    CVE ID reserved by GitHub_M.
  2. 24 Oct 2023
    Published in the CVE List.
  3. 29 Nov 2025
    First public proof of concept on GitHub.
  4. 20 May 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub).

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundJawadPy/WerkGhost0 stars · created 29 Nov 2025Exploit for Werkzeug < 3.1.4 (CVE-2023-46136)

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other werkzeug vulnerabilities

Same weakness:

All CWE-407 vulnerabilities

References
Cite this page

Patchminder. CVE-2023-46136: Denial of service in pallets werkzeug. https://patchminder.com/cve/cve-2023-46136/ (accessed 5 December 2026).