CVE-2026-97687Python Urllib3 improper certificate validation
CVSS score
7.6
High
CVSS 4.0 from github.com
Exploit probability (EPSS)
0.24%
0.24% chance of exploitation in the next 30 days, higher than 15.8% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security-advisories@github.com
How to fix it, step by step
Check whether you're affected
Find every system running Python Urllib3 and compare its version with the affected versions.
Update to a fixed version
- Update Urllib3 to 2.8.0 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Attack requirements
- Present
- Privileges required
- None
- User interaction
- Passive
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Values in red make the vulnerability easier to exploit or more damaging. 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
Affected products
| Affected products | Versions |
|---|---|
| Python Urllib3 | ≥ 1.26.0, < 2.8.0 |
| urllib3 Urllib3 | >= 1.26.0, < 2.8.0 |
Frequently asked questions
Is CVE-2026-97687 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-97687?
CVE-2026-97687 has a CVSS 4.0 base score of 7.6 (high).
Which versions are affected?
Python Urllib3 (≥ 1.26.0, < 2.8.0), Urllib3 Urllib3 (>= 1.26.0, < 2.8.0)
Is there a patch for CVE-2026-97687?
The official record links to vendor advisories or patches; see “What to do” above.
References
- github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465(Patch)
- github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3(Patch)
- github.com/urllib3/urllib3/pull/5093(Issue Tracking, Patch)
- github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77(Vendor Advisory)
- github.com/urllib3/urllib3/releases/tag/2.8.0(Release Notes)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.