Home / pallets / werkzeug / CVE-2023-23934
CVE-2023-23934: is it exploited, and which versions of pallets werkzeug are affected and fixed?
CVE-2023-23934 is an improper input validation vulnerability in pallets werkzeug. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: Werkzeug before 2.2.3 (GitHub advisory GHSA-px8h-6qxv-m22q). Fixed in 2.2.3 (GitHub advisory GHSA-px8h-6qxv-m22q). Severity: Low (2.6, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.
What is CVE-2023-23934?
Wrkzeug's incorrect parsing of nameless cookies leads to __Host- cookies bypass
Werkzeug is a comprehensive WSGI web application library. Browsers may allow "nameless" cookies that look like `=value` instead of `key=value`. A vulnerable browser may allow a compromised application on an adjacent subdomain to exploit this to set a cookie like `=__Host-test=bad` for another subdomain. Werkzeug prior to 2.2.3 will parse the cookie `=__Host-test=bad` as __Host-test=bad`. If a Werkzeug application is running next to a vulnerable or malicious subdomain which sets such a cookie using a vulnerable browser, the Werkzeug application will see the bad cookie value but the valid cookie key. The issue is fixed in Werkzeug 2.2.3.
From the CVE record by GitHub_M, last updated March 10, 2025, 21:11 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| pallets | werkzeug | < 2.2.3 |
As the CVE record by GitHub_M states it, last updated March 10, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | Werkzeug | < 2.2.3 | 2.2.3 | GHSA-px8h-6qxv-m22q |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 19, 2024. Summary: Incorrect parsing of nameless cookies leads to __Host- cookies bypass.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| palletsprojects | werkzeug | before 2.2.3 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:38 UTC.
How severe is CVE-2023-23934?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 2.6 | CVSS 3.1 | CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N | GitHub_M |
| Low 3.5 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-23934 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 10, 2025)
- EPSS
- 0.52% probability of exploitation activity in the next 30 days, percentile 45.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/pallets/werkzeug/security/advisories/GHSA-px8h-6qxv-m22q x_refsource_CONFIRM
- https://github.com/pallets/werkzeug/commit/cf275f42acad1b5950c50ffe8ef58fe62cdce028 x_refsource_MISC
- https://github.com/pallets/werkzeug/releases/tag/2.2.3 x_refsource_MISC
- https://www.debian.org/security/2023/dsa-5470
- https://security.netapp.com/advisory/ntap-20230818-0003/
When was it published, and where is the official record?
- Reserved
- January 19, 2023
- Published
- February 14, 2023, 19:56 UTC
- CVE record updated
- March 10, 2025, 21:11 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:38 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect werkzeug?
- Sep 29, 2026CVE-2026-102598 pallets werkzeug: improper Handling of Windows Device Names
- Feb 21, 2026CVE-2026-27199 pallets werkzeug: improper Handling of Windows Device Names
- Jan 8, 2026CVE-2026-21860 pallets werkzeug: improper Handling of Windows Device Names
- Nov 29, 2025CVE-2025-66221 pallets werkzeug: improper Handling of Windows Device Names
- Oct 25, 2024CVE-2024-49767 pallets werkzeug: denial of service (uncontrolled resource consumption)
- Oct 25, 2024CVE-2024-49766 pallets werkzeug: path traversal (reading or writing files outside the intended folder)
- May 6, 2024CVE-2024-34069 pallets werkzeug: cross-site request forgery (CSRF)
- Oct 24, 2023CVE-2023-46136 pallets werkzeug: denial of service through slow algorithm
Questions about CVE-2023-23934
Is CVE-2023-23934 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 0.52% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of pallets werkzeug are affected by CVE-2023-23934?
Werkzeug before 2.2.3, per the GitHub advisory GHSA-px8h-6qxv-m22q. The tables above give every range the sources list.
Which version fixes CVE-2023-23934?
2.2.3, per the GitHub advisory GHSA-px8h-6qxv-m22q. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-23934?
Low (2.6, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-23934?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.