CVE-2026-97687
HIGH 7.6 ALL-YEARSurllib3 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.
Severe if exploited (CVSS 7.6); current sources show no confirmed exploitation. Consider exposure and affected versions when prioritizing remediation.
Exploitation likelihood
0.2%chance of exploitation in 30 days · 11th percentile
Impact if exploited
7.6CVSS 4.0 · HIGH · CNA
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityNone
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ⚠User interaction: Succeeds with passive user activity
- ✓Complexity: No special conditions — reliably repeatable
- ⚠Requirements: Specific conditions must be present
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.
Weakness (CWE)
- CWE-295: : Improper Certificate Validation
- CWE-440: : Expected Behavior Violation
CVSS 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
References and research data (JSON) · Change history
Packages and version ranges
Each advisory describes its own package and affected ranges. A boundary applies to that range; it is not a universal upgrade recommendation.
urllib3 PyPI
pkg:pypi/urllib3
ECOSYSTEM range- Introduced version (included): 1.26.0
- Fixed boundary (excluded): 2.8.0
46 explicitly listed affected versions
1.26.0, 1.26.1, 1.26.10, 1.26.11, 1.26.12, 1.26.13, 1.26.14, 1.26.15, 1.26.16, 1.26.17, 1.26.18, 1.26.19, 1.26.2, 1.26.20, 1.26.3, 1.26.4, 1.26.5, 1.26.6, 1.26.7, 1.26.8, 1.26.9, 2.0.0, 2.0.0a1, 2.0.0a2, 2.0.0a3, 2.0.0a4, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0
GitHub Advisory Database · GHSA-8988-9cw3-xx77 · Updated 2026-10-01T17:55:53.793608550ZAdditional upstream package constraints
{ "database": { "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-8988-9cw3-xx77/GHSA-8988-9cw3-xx77.json" } }urllib3 PyPI
pkg:pypi/urllib3
ECOSYSTEM range- Introduced version (included): 1.26.0
- Fixed boundary (excluded): 2.8.0
46 explicitly listed affected versions
1.26.0, 1.26.1, 1.26.10, 1.26.11, 1.26.12, 1.26.13, 1.26.14, 1.26.15, 1.26.16, 1.26.17, 1.26.18, 1.26.19, 1.26.2, 1.26.20, 1.26.3, 1.26.4, 1.26.5, 1.26.6, 1.26.7, 1.26.8, 1.26.9, 2.0.0, 2.0.0a1, 2.0.0a2, 2.0.0a3, 2.0.0a4, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0
PyPA · PYSEC-2026-4175 · Updated 2026-10-01T17:45:18.542387510ZAdditional upstream package constraints
{ "database": { "source": "https://github.com/pypa/advisory-database/blob/main/vulns/urllib3/PYSEC-2026-4175.yaml" } }
Known Affected Software Configurations
| Vendor | Product | Version range |
|---|---|---|
| Python | Urllib3 | ≥ 1.26.0 and < 2.8.0 |
All CVSS metrics
- HIGH 7.6 v4.0 · CNA Primary
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 - HIGH 7.6 v4.0 · NVD Secondary
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - HIGH 8.1 v3.1 · NVD Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
References
Patches & mitigations
- https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465 CVE record · GitHub_M · Updated 2026-09-29T15:30:27.136Z
NVD · CVE-2026-97687 · Updated 2026-10-13T20:27:23.130
GitHub Advisory Database · GHSA-8988-9cw3-xx77
GitHub Advisory Database · GHSA-8988-9cw3-xx77 · Updated 2026-10-01T17:55:53.793608550Z
PyPA · PYSEC-2026-4175 - https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3 CVE record · GitHub_M · Updated 2026-09-29T15:30:27.136Z
NVD · CVE-2026-97687 · Updated 2026-10-13T20:27:23.130
GitHub Advisory Database · GHSA-8988-9cw3-xx77
GitHub Advisory Database · GHSA-8988-9cw3-xx77 · Updated 2026-10-01T17:55:53.793608550Z
PyPA · PYSEC-2026-4175 - https://github.com/urllib3/urllib3/pull/5093 CVE record · GitHub_M · Updated 2026-09-29T15:30:27.136Z
NVD · CVE-2026-97687 · Updated 2026-10-13T20:27:23.130
GitHub Advisory Database · GHSA-8988-9cw3-xx77
GitHub Advisory Database · GHSA-8988-9cw3-xx77 · Updated 2026-10-01T17:55:53.793608550Z
PyPA · PYSEC-2026-4175
Advisories
- https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77 CVE record · GitHub_M · Updated 2026-09-29T15:30:27.136Z
NVD · CVE-2026-97687 · Updated 2026-10-13T20:27:23.130
GitHub Advisory Database · GHSA-8988-9cw3-xx77
GitHub Advisory Database · GHSA-8988-9cw3-xx77 · Updated 2026-10-01T17:55:53.793608550Z
PyPA · PYSEC-2026-4175 - https://nvd.nist.gov/vuln/detail/CVE-2026-97687 GitHub Advisory Database · GHSA-8988-9cw3-xx77
GitHub Advisory Database · GHSA-8988-9cw3-xx77 · Updated 2026-10-01T17:55:53.793608550Z
PyPA · PYSEC-2026-4175 - https://osv.dev/vulnerability/GHSA-8988-9cw3-xx77 GitHub Advisory Database · GHSA-8988-9cw3-xx77
GitHub Advisory Database · GHSA-8988-9cw3-xx77 · Updated 2026-10-01T17:55:53.793608550Z - https://github.com/advisories/GHSA-8988-9cw3-xx77 PyPA · PYSEC-2026-4175
PyPA · PYSEC-2026-4175 · Updated 2026-10-01T17:45:18.542387510Z - https://osv.dev/vulnerability/PYSEC-2026-4175 PyPA · PYSEC-2026-4175
PyPA · PYSEC-2026-4175 · Updated 2026-10-01T17:45:18.542387510Z - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-89000 EUVD · EUVD-2026-89000
Technical & other
- https://github.com/urllib3/urllib3/releases/tag/2.8.0 CVE record · GitHub_M · Updated 2026-09-29T15:30:27.136Z
NVD · CVE-2026-97687 · Updated 2026-10-13T20:27:23.130
GitHub Advisory Database · GHSA-8988-9cw3-xx77
GitHub Advisory Database · GHSA-8988-9cw3-xx77 · Updated 2026-10-01T17:55:53.793608550Z
PyPA · PYSEC-2026-4175 - https://github.com/urllib3/urllib3 GitHub Advisory Database · GHSA-8988-9cw3-xx77
GitHub Advisory Database · GHSA-8988-9cw3-xx77 · Updated 2026-10-01T17:55:53.793608550Z
PyPA · PYSEC-2026-4175 - https://pypi.org/project/urllib3 PyPA · PYSEC-2026-4175
PyPA · PYSEC-2026-4175 · Updated 2026-10-01T17:45:18.542387510Z
Sources: NVD · CVE.org · All sources and attribution · EPSS