Home / urllib3 / urllib3 / CVE-2024-37891
CVE-2024-37891: is it exploited, and which versions of urllib3 are affected and fixed?
CVE-2024-37891 is an incorrect resource transfer 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, 17:39 UTC). Affected: urllib3 before 1.26.19 and urllib3 from 2.0.0 before 2.2.2 (GitHub advisory GHSA-34jh-p97f-mpxf). Fixed in 1.26.19 and 2.2.2 (GitHub advisory GHSA-34jh-p97f-mpxf). Severity: Medium (4.4, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:39 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:28 UTC.
What is CVE-2024-37891?
Proxy-Authorization request header isn't stripped during cross-origin redirects in urllib3
urllib3 is a user-friendly HTTP client library for Python. When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected. However, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects. Because this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident. Users should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach. We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited: 1. Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support. 2. Not disabling HTTP redirects. 3. Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin. Users are advised to update to either version 1.26.19 or version 2.2.2. Users unable to upgrade may use the `Proxy-Authorization` header with urllib3's `ProxyManager`, disable HTTP redirects using `redirects=False` when sending requests, or not user the `Proxy-Authorization` header as mitigations.
From the CVE record by GitHub_M, last updated November 3, 2025, 21:55 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| urllib3 | urllib3 | < 1.26.19 >= 2.0.0, < 2.2.2 |
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 | < 1.26.19 | 1.26.19 | GHSA-34jh-p97f-mpxf |
| PyPI | urllib3 | >= 2.0.0, < 2.2.2 | 2.2.2 | GHSA-34jh-p97f-mpxf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 4, 2025. Summary: urllib3's Proxy-Authorization request header isn't stripped during cross-origin redirects.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | urllib3 | before 1.26.19 | application |
| python | urllib3 | from 2.0.0 before 2.2.2 | application |
| debian | debian linux | 11.0 | operating system |
| netapp | active iq unified manager | all versions | application |
NVD analysis (status Analyzed), last modified June 17, 2026, 07:38 UTC.
How severe is CVE-2024-37891?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 4.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/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-2024-37891 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 18, 2024)
- EPSS
- 1.14% probability of exploitation activity in the next 30 days, percentile 67.7 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-669 Incorrect Resource Transfer Between Spheres
Where are the vendor advisories and references?
- https://github.com/urllib3/urllib3/security/advisories/GHSA-34jh-p97f-mpxf x_refsource_CONFIRM
- https://github.com/urllib3/urllib3/commit/accff72ecc2f6cf5a76d9570198a93ac7c90270e x_refsource_MISC
- https://www.vicarius.io/vsociety/posts/proxy-authorization-header-handling-vulnerability-in-urllib3-cve-2024-37891
- https://security.netapp.com/advisory/ntap-20240822-0003/
- https://lists.debian.org/debian-lts-announce/2024/12/msg00020.html
When was it published, and where is the official record?
- Reserved
- June 10, 2024
- Published
- June 17, 2024, 19:18 UTC
- CVE record updated
- November 3, 2025, 21:55 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 07:38 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:28 UTC; KEV December 3, 2026, 17:39 UTC; EPSS December 3, 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-2024-37891
Is CVE-2024-37891 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:39 UTC. FIRST's EPSS gives it a 1.14% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of urllib3 are affected by CVE-2024-37891?
urllib3 before 1.26.19 and urllib3 from 2.0.0 before 2.2.2, per the GitHub advisory GHSA-34jh-p97f-mpxf. The tables above give every range the sources list.
Which version fixes CVE-2024-37891?
1.26.19 and 2.2.2, per the GitHub advisory GHSA-34jh-p97f-mpxf. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-37891?
Medium (4.4, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-37891?
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.