Home / urllib3 / urllib3 / CVE-2023-45803
CVE-2023-45803: is it exploited, and which versions of urllib3 are affected and fixed?
CVE-2023-45803 is an information disclosure vulnerability in urllib3. 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, 13:38 UTC). Affected: urllib3 from 2.0.0 before 2.0.7 and urllib3 before 1.26.18 (GitHub advisory GHSA-g4mx-q9vg-27p4). Fixed in 2.0.7 and 1.26.18 (GitHub advisory GHSA-g4mx-q9vg-27p4). Severity: Medium (4.2, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:35 UTC.
What is CVE-2023-45803?
Request body not stripped after redirect in urllib3
urllib3 is a user-friendly HTTP client library for Python. urllib3 previously wouldn't remove the HTTP request body when an HTTP redirect response using status 301, 302, or 303 after the request had its method changed from one that could accept a request body (like `POST`) to `GET` as is required by HTTP RFCs. Although this behavior is not specified in the section for redirects, it can be inferred by piecing together information from different sections and we have observed the behavior in other major HTTP client implementations like curl and web browsers. Because the vulnerability requires a previously trusted service to become compromised in order to have an impact on confidentiality we believe the exploitability of this vulnerability is low. Additionally, many users aren't putting sensitive data in HTTP request bodies, if this is the case then this vulnerability isn't exploitable. Both of the following conditions must be true to be affected by this vulnerability: 1. Using urllib3 and submitting sensitive information in the HTTP request body (such as form data or JSON) and 2. The origin service is compromised and starts redirecting using 301, 302, or 303 to a malicious peer or the redirected-to service becomes compromised. This issue has been addressed in versions 1.26.18 and 2.0.7 and users are advised to update to resolve this issue. Users unable to update should disable redirects for services that aren't expecting to respond with redirects with `redirects=False` and disable automatic redirects with `redirects=False` and handle 301, 302, and 303 redirects manually by stripping the HTTP request body.
From the CVE record by GitHub_M, last updated November 3, 2025, 21:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| urllib3 | urllib3 | >= 2.0.0, < 2.0.7 < 1.26.18 |
As the CVE record by GitHub_M states it, last updated November 3, 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 | urllib3 | >= 2.0.0, < 2.0.7 | 2.0.7 | GHSA-g4mx-q9vg-27p4 |
| PyPI | urllib3 | < 1.26.18 | 1.26.18 | GHSA-g4mx-q9vg-27p4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 4, 2025. Summary: urllib3's request body not stripped after redirect from 303 status changes request method to GET.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | urllib3 | before 1.26.18 | application |
| python | urllib3 | from 2.0.0 before 2.0.7 | application |
| fedoraproject | fedora | 38 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 06:29 UTC.
How severe is CVE-2023-45803?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.2 | CVSS 3.1 | CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| Medium 4.2 | CVSS 3.1 | CVSS:3.1/AV:A/AC:H/PR:H/UI:N/S:U/C:H/I:N/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-45803 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 13, 2024)
- EPSS
- 0.59% probability of exploitation activity in the next 30 days, percentile 49.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Where are the vendor advisories and references?
- https://github.com/urllib3/urllib3/security/advisories/GHSA-g4mx-q9vg-27p4 x_refsource_CONFIRM
- https://github.com/urllib3/urllib3/commit/4e98d57809dacab1cbe625fddeec1a290c478ea9 x_refsource_MISC
- https://www.rfc-editor.org/rfc/rfc9110.html#name-get x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/PPDPLM6UUMN55ESPQWJFLLIZY4ZKCNRX/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/4R2Y5XK3WALSR3FNAGN7JBYV2B343ZKB/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/5F5CUBAN5XMEBVBZPHFITBLMJV5FIJJ5/
- https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html
When was it published, and where is the official record?
- Reserved
- October 13, 2023
- Published
- October 17, 2023, 19:43 UTC
- CVE record updated
- November 3, 2025, 21:49 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:29 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:35 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect urllib3?
- Sep 29, 2026CVE-2026-97689 urllib3: denial of service (resources allocated without limits)
- Sep 29, 2026CVE-2026-97688 urllib3: infinite loop (denial of service)
- Sep 29, 2026CVE-2026-97687 urllib3: improper certificate validation
- May 13, 2026CVE-2026-44431 urllib3: information disclosure
- May 13, 2026CVE-2026-44432 urllib3: improper Handling of Highly Compressed Data (Data Amplification)
- Jan 7, 2026CVE-2026-21441 urllib3: improper Handling of Highly Compressed Data (Data Amplification)
- Dec 5, 2025CVE-2025-66471 urllib3: improper Handling of Highly Compressed Data (Data Amplification)
- Dec 5, 2025CVE-2025-66418 urllib3: denial of service (resources allocated without limits)
Questions about CVE-2023-45803
Is CVE-2023-45803 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 0.59% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of urllib3 are affected by CVE-2023-45803?
urllib3 from 2.0.0 before 2.0.7 and urllib3 before 1.26.18, per the GitHub advisory GHSA-g4mx-q9vg-27p4. The tables above give every range the sources list.
Which version fixes CVE-2023-45803?
2.0.7 and 1.26.18, per the GitHub advisory GHSA-g4mx-q9vg-27p4. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-45803?
Medium (4.2, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-45803?
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.