CVE-2026-44431
JSON

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 packageVersionsReported by
urllib3 urllib3>= 1.23, < 2.7.0CVE List
urllib3 (PyPI)from 1.23 before 2.7.0GitHub Advisory Database, PyPA Advisory Database
python urllib3from 1.23 before 2.7.0NVD

All scores

GitHub_M8.2high CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
GitHub5.3high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
GitHubhigh CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
PyPA Advisory Database5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-200

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

Sources

SourceRecordLicence
CVE ListCVE-2026-44431 changed 2026-06-26CVE Terms of Use
GitHub Advisory DatabaseGHSA-qccp-gfcp-xxvc changed 2026-09-10CC-BY-4.0
NVDCVE-2026-44431 changed 2026-11-11Public domain
PyPA Advisory DatabasePYSEC-2026-141 changed 2026-05-20CC-BY-4.0