8.2high
urllib3: Sensitive headers forwarded across origins in proxied low-level redirects
- Severity
- 8.2high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.40% (higher than 35% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-qccp-gfcp-xxvcPYSEC-2026-141
Description
urllib3 is an HTTP client library for Python. From 1.23 to before 2.7.0, cross-origin redirects followed from the low-level API via ProxyManager.connection_from_url().urlopen(..., assert_same_host=False) still forward these sensitive headers. This vulnerability is fixed in 2.7.0.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| urllib3 urllib3 | >= 1.23, < 2.7.0 | CVE List |
| urllib3 (PyPI) | from 1.23 before 2.7.0 | GitHub Advisory Database, PyPA Advisory Database |
| python urllib3 | from 1.23 before 2.7.0 | NVD |
All scores
| GitHub_M | 8.2high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| GitHub | 5.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| PyPA Advisory Database | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
urllib3 is an HTTP client library for Python. From 1.23 to before 2.7.0, cross-origin redirects followed from the low-level API via ProxyManager.connection_from_url().urlopen(..., assert_same_host=False) still forward these sensitive headers. This vulnerability is fixed in 2.7.0.
GitHub Advisory Database
Impact
When following cross-origin redirects for requests made using urllib3’s high-level APIs, such as urllib3.request(), PoolManager.request(), and ProxyManager.request(), sensitive headers — Authorization, Cookie, and Proxy-Authorization (defined in Retry.DEFAULT_REMOVE_HEADERS_ON_REDIRECT) — are stripped by default, as expected.
However, cross-origin redirects followed from the low-level API via ProxyManager.connection_from_url().urlopen(..., assert_same_host=False) still forward these sensitive headers.
Affected usage
Applications and libraries using urllib3 versions earlier than 2.7.0 may be affected if they allow cross-origin redirects while making requests through HTTPConnection.urlopen() instances created via ProxyManager.connection_from_url().
Remediation
Upgrade to urllib3 version 2.7.0 or later, in which sensitive headers are stripped from redirects followed by HTTPConnection.
If upgrading is not immediately possible, avoid using this low-level redirect flow for cross-origin redirects. If appropriate for your use case, switch to ProxyManager.request().
NVD (es)
urllib3 es una biblioteca cliente HTTP para Python. Desde la 1.23 hasta antes de la 2.7.0, las redirecciones de origen cruzado seguidas desde la API de bajo nivel a través de ProxyManager.connection_from_url().urlopen(..., assert_same_host=False) aún reenvían estos encabezados sensibles. Esta vulnerabilidad está corregida en la 2.7.0.
References
| https://github.com/urllib3/urllib3/security/advisories/GHSA-qccp-gfcp-xxvc | advisory, mitigation, vendor-advisory, web | |
| https://lists.debian.org/debian-lts-announce/2026/06/msg00040.html | ||
| https://nvd.nist.gov/vuln/detail/CVE-2026-44431 | advisory | |
| https://github.com/urllib3/urllib3 | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44431 changed 2026-06-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-qccp-gfcp-xxvc changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-44431 changed 2026-11-11 | Public domain |
| PyPA Advisory Database | PYSEC-2026-141 changed 2026-05-20 | CC-BY-4.0 |