CVE-2026-97687: python urllib3 Improper Certificate Validation
Vulnerability summary
CVE-2026-97687 is a high (CVSS 8.1) Improper Certificate Validation vulnerability in python urllib3. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 9 · Related 6Timeline
- 29-09-2026PublishedVulnerability first disclosed.
- 30-09-2026Last modifiedVulnerability information updated.
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 metrics
9 scores · 7 sources · 2 versions- OSV · PypiEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · WolfiEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated7.6HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- NVDNIST7.6HighCVSS: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
- OSV · UbuntuEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
10%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard151 products
- airflow-2< 2.11.2-r26 | All versions (No fix recorded)
- airflow-core-2< 2.11.2-r11
- ansible-operator< 1.42.3-r19
- ansible-operator-fips< 1.42.3-r16
- apache-beam-python-3.11-sdk< 2.76.0-r4
Wolfi28 products
- confluent-docker-utils< 0.0.172-r4
- datadog-agent-7.77-core-integrations< 7.77.3-r27
- datadog-agent-7.78< 7.78.4-r23
- datadog-agent-7.78-core-integrationsAll versions (No fix recorded)
- datadog-agent-7.79All versions (No fix recorded)
Ubuntu2 products
- python-pipAll versions (No fix recorded)
- python-urllib3All versions (No fix recorded) | < 2.6.3-1ubuntu1.2
Debian1 product
- python-urllib3All versions (No fix recorded) | < 2.8.0-1
PyPI1 product
- urllib3≥ 1.26.0, < 2.8.0
Python1 product
- urllib3≥ 1.26.0, < 2.8.0
Urllib31 product
- urllib3≥ 1.26.0, < 2.8.0
7 vendors · 185 products
References
14 links- github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77X Refsource CONFIRMWEBREPORTAdvisoryVendor Advisory
- github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465X Refsource MISCWEBREPORTFIXPatch
- github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3X Refsource MISCWEBREPORTFIXPatch
- github.com/urllib3/urllib3PACKAGE
- pypi.org/project/urllib3PACKAGE