Vulnerability · Published Sep 29, 2026 · Assigned by GitHub_M
CVE-2026-97687urllib3: HTTPS proxy TLS configuration may be ignored or overridden
High 7.6
In plain English
A high-severity improper certificate validation in urllib3 from urllib3. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 11% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | python3-urllib3 | 1.26.19-4.el10_2.2 | ALSA-2026:85930 |
| AlmaLinux:9 | python3-urllib3 | 1.26.5-8.el9_8.2 | ALSA-2026:90494 |
| AlmaLinux:8 | python3.12-urllib3 | 1.26.19-5.el8_10 | ALSA-2026:92474 |
| AlmaLinux:9 | python3.12-urllib3 | 1.26.19-3.el9_8.2 | ALSA-2026:85929 |
| AlmaLinux:10 | python3.14-urllib3 | 2.6.3-2.el10_2.6 | ALSA-2026:84578 |
| AlmaLinux:9 | python3.14-urllib3 | 2.6.3-2.el9_8.6 | ALSA-2026:84577 |
| Debian:12 | python-urllib3 | no fix listed | DEBIAN-CVE-2026-97687 |
| Debian:13 | python-urllib3 | no fix listed | DEBIAN-CVE-2026-97687 |
| Debian:14 | python-urllib3 | 2.8.0-1 | DEBIAN-CVE-2026-97687 |
| PyPI | urllib3 | 2.8.0 | GHSA-8988-9cw3-xx77 |
| PyPI | urllib3 | 2.8.0 | PYSEC-2026-4175 |
| Rocky Linux:10 | python-urllib3 | 0:1.26.19-4.el10_2.2 | RLSA-2026:85930 |
| Rocky Linux:9 | python-urllib3 | 0:1.26.5-8.el9_8.2 | RLSA-2026:90494 |
| Rocky Linux:8 | python3.12-urllib3 | 0:1.26.19-5.el8_10 | RLSA-2026:92474 |
| Rocky Linux:9 | python3.12-urllib3 | 0:1.26.19-3.el9_8.2 | RLSA-2026:85929 |
| Rocky Linux:10 | python3.14-urllib3 | 0:2.6.3-2.el10_2.6 | RLSA-2026:84578 |
| Rocky Linux:9 | python3.14-urllib3 | 0:2.6.3-2.el9_8.6 | RLSA-2026:84577 |
| Ubuntu:26.10 | python-pip | no fix listed | UBUNTU-CVE-2026-97687 |
| Ubuntu:22.04:LTS | python-urllib3 | no fix listed | UBUNTU-CVE-2026-97687 |
| Ubuntu:22.04:LTS | python-urllib3 | 1.26.5-1~exp1ubuntu0.8 | USN-8926-1 |
| Ubuntu:24.04:LTS | python-urllib3 | no fix listed | UBUNTU-CVE-2026-97687 |
| Ubuntu:24.04:LTS | python-urllib3 | 2.0.7-1ubuntu0.8 | USN-8926-1 |
| Ubuntu:26.04:LTS | python-urllib3 | 2.6.3-1ubuntu1.2 | UBUNTU-CVE-2026-97687 |
| Ubuntu:26.04:LTS | python-urllib3 | 2.6.3-1ubuntu1.2 | USN-8926-1 |
Affected products (as reported)
Weakness: CWE-295, CWE-440 · 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
- https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77 x_refsource_CONFIRM
- https://github.com/urllib3/urllib3/pull/5093 x_refsource_MISC
- https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465 x_refsource_MISC
- https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3 x_refsource_MISC
- https://github.com/urllib3/urllib3/releases/tag/2.8.0 x_refsource_MISC