# CVE-2026-97687: urllib3: HTTPS proxy TLS configuration may be ignored or overridden

- Severity: High 7.6 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-09-29T15:30:27.136Z
- Modified: 2026-10-13T20:27:23.130Z
- Also known as: GHSA-8988-9cw3-xx77, PYSEC-2026-4175
- Weaknesses: CWE-295, CWE-440
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

urllib3 is an HTTP client library for Python. From 1.26.0 until 2.8.0, the proxy_ssl_context, proxy_assert_hostname, proxy_assert_fingerprint, ssl_context, cert_reqs, verify_mode, use_forwarding_for_https=True, and CERT_NONE configuration paths fail to remain separated because target-server TLS settings are incorrectly applied to the HTTPS proxy connection. The trigger is that an application uses an HTTPS proxy and configures target-server TLS settings that must remain separate from the proxy TLS handshake, including HTTPS forwarding with target-specific identity or credentials. Applying cert_reqs=CERT_NONE can overwrite proxy_ssl_context.verify_mode in place, and the mutation persists so later connections reusing the same context may connect to the HTTPS proxy without certificate verification. The attack mechanism is that an attacker intercepts and impersonates the HTTPS proxy after the effective proxy policy accepts the attacker's certificate. The impact is that the attacker can observe or modify forwarded traffic or receive a target TLS client certificate, while CONNECT tunneling still preserves the separate end-to-end target TLS connection. This issue is fixed in version 2.8.0.

(As written by CVE List.)

## Affected

- urllib3 urllib3: >= 1.26.0, < 2.8.0
- urllib3 (PyPI): from 1.26.0 before 2.8.0
- python urllib3: from 1.26.0 before 2.8.0

## Every score

- GitHub_M: CVSS:4.0 7.6 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77> (vendor-advisory, web)
- <https://github.com/urllib3/urllib3/pull/5093> (issue-tracking, patch, web)
- <https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465> (patch, web)
- <https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3> (patch, web)
- <https://github.com/urllib3/urllib3/releases/tag/2.8.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-97687> (advisory)
- <https://github.com/urllib3/urllib3> (package)
- <https://pypi.org/project/urllib3> (package)
- <https://github.com/advisories/GHSA-8988-9cw3-xx77> (advisory)

## Sources

- CVE List: [CVE-2026-97687](https://www.cve.org/CVERecord?id=CVE-2026-97687), CVE Terms of Use, modified 2026-09-30
- GitHub Advisory Database: [GHSA-8988-9cw3-xx77](https://github.com/advisories/GHSA-8988-9cw3-xx77), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-97687](https://nvd.nist.gov/vuln/detail/CVE-2026-97687), Public domain, modified 2026-10-13
- PyPA Advisory Database: [PYSEC-2026-4175](https://osv.dev/vulnerability/PYSEC-2026-4175), CC-BY-4.0, modified 2026-10-01

---

Page: https://cve.day/CVE-2026-97687 · Whole record: https://cve.day/CVE-2026-97687.json · Rebuilt by cve.day 2026-11-25T22:59:41.486Z
