{"cve":"CVE-2026-97687","nvd":{"published":"2026-09-29T16:17:18.517","modified":"2026-10-13T20:27:23.130","status":"Analyzed","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.","cvss_v4":{"vector":"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","score":7.6},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-295","CWE-440"],"references":["https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465","https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3","https://github.com/urllib3/urllib3/pull/5093","https://github.com/urllib3/urllib3/releases/tag/2.8.0","https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"],"products":["python:urllib3"],"source":"nvd","synced_at":"2026-10-19T22:56:48.555445741+00:00"},"epss":{"cve":"CVE-2026-97687","score":0.00206,"percentile":0.10531,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-8988-9cw3-xx77","url":"https://osv.dev/vulnerability/GHSA-8988-9cw3-xx77","summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","modified":"2026-10-01T17:55:53.793608550Z","packages":[{"ecosystem":"PyPI","name":"urllib3","purl":"pkg:pypi/urllib3","ranges":[">=1.26.0 <2.8.0"],"fixed":["2.8.0"]}]},{"id":"PYSEC-2026-4175","url":"https://osv.dev/vulnerability/PYSEC-2026-4175","summary":"urllib3: HTTPS proxy TLS configuration may be ignored or overridden","modified":"2026-10-01T17:45:18.542387510Z","packages":[{"ecosystem":"PyPI","name":"urllib3","purl":"pkg:pypi/urllib3","ranges":[">=1.26.0 <2.8.0"],"fixed":["2.8.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}