cve.bz

CVE-2026-97687 python urllib3: Improper Certificate Validation

7.6 highEPSS 0.2%Fix available

High (7.6) in python urllib3. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in urllib3 2.8.0.

On this page
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.

Severity

CVSS 4.0

7.6 high
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

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 11th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-09-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-295 Improper Certificate Validation
CWE-440 Expected Behavior Violation
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-97687 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-97687?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-97687?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-97687 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-97687

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-97687](https://cve.bz/cve/badge/CVE-2026-97687.svg)](https://cve.bz/cve/CVE-2026-97687)

HTML:

<a href="https://cve.bz/cve/CVE-2026-97687"><img src="https://cve.bz/cve/badge/CVE-2026-97687.svg" alt="CVE-2026-97687"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
python:urllib3from 1.26.0 before 2.8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8988-9cw3-xx77PyPIurllib3>=1.26.0 <2.8.02.8.0
PYSEC-2026-4175PyPIurllib3>=1.26.0 <2.8.02.8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13python-urllib3no fix listedDEBIAN-CVE-2026-97687
Debian14python-urllib32.8.0-1DEBIAN-CVE-2026-97687
Ubuntu22.04:LTS, 24.04:LTSpython-urllib3no fix listedUBUNTU-CVE-2026-97687 USN-8926-1
Ubuntu26.04:LTSpython-urllib32.6.3-1ubuntu1.2UBUNTU-CVE-2026-97687 USN-8926-1
Ubuntu26.10, Pro:14.04:LTS, Pro:16.04:LTS and 5 morepython-pipno fix listedUBUNTU-CVE-2026-97687
UbuntuPro:18.04:LTSpython-urllib31.22-1ubuntu0.18.04.2+esm5USN-8926-1
UbuntuPro:20.04:LTSpython-urllib31.25.8-2ubuntu0.4+esm6USN-8926-1
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 9 morepython-urllib32.0.7-150400.7.36.1SUSE-SU-2026:4704-1
SUSELinux Enterprise Module for Python 3 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6python-urllib3_11.26.18-150600.3.14.1SUSE-SU-2026:4948-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-urllib32.5.0-160000.8.1SUSE-SU-2026:24217-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0python-urllib3_11.26.20-160000.5.1SUSE-SU-2026:24660-1
SUSELinux Micro 6.2python-urllib32.5.0-160000.8.1SUSE-SU-2026:24125-1
openSUSELeap 16.0python-urllib32.5.0-160000.8.1openSUSE-SU-2026:22071-1
openSUSELeap 16.0python-urllib3_11.26.20-160000.5.1openSUSE-SU-2026:22252-1
openSUSETumbleweedpython-urllib32.8.0-1.1openSUSE-SU-2026:12044-1
openSUSETumbleweedpython-urllib3_11.26.20-8.1openSUSE-SU-2026:12119-1
AlmaLinux8python3.12-urllib31.26.19-5.el8_10ALSA-2026:92474
AlmaLinux9python3-urllib31.26.5-8.el9_8.2ALSA-2026:90494
AlmaLinux9python3.12-urllib31.26.19-3.el9_8.2ALSA-2026:85929
AlmaLinux9python3.14-urllib32.6.3-2.el9_8.6ALSA-2026:84577
AlmaLinux10python3-urllib31.26.19-4.el10_2.2ALSA-2026:85930
AlmaLinux10python3.14-urllib32.6.3-2.el10_2.6ALSA-2026:84578
Rocky Linux8python3.12-urllib30:1.26.19-5.el8_10RLSA-2026:92474
Rocky Linux9python-urllib30:1.26.5-8.el9_8.2RLSA-2026:90494
Rocky Linux9python3.12-urllib30:1.26.19-3.el9_8.2RLSA-2026:85929
Rocky Linux9python3.14-urllib30:2.6.3-2.el9_8.6RLSA-2026:84577
Rocky Linux10python-urllib30:1.26.19-4.el10_2.2RLSA-2026:85930
Rocky Linux10python3.14-urllib30:2.6.3-2.el10_2.6RLSA-2026:84578
Azure Linux3python-pipno fix listedAZL-105651
Azure Linux3python-urllib3no fix listedAZL-105663
Azure Linux3python-virtualenvno fix listedAZL-105678
Azure Linux3python3no fix listedAZL-105693
Azure Linux3tensorflowno fix listedAZL-105909
Alpaquitastreampy3-urllib32.8.0-r0BELL-CVE-2026-97687

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

Red Hat has evaluated this vulnerability as having an Important impact because a network attacker can exploit corrupted TLS validation states to impersonate an HTTPS proxy, enabling complete interception and manipulation of sensitive communications as well as client credential theft. Successful exploitation depends on specialized application architectures where outgoing requests utilize an HTTPS-capable proxy alongside customized destination TLS parameters that inadvertently override proxy verification. Default Red Hat enterprise deployments that communicate directly with endpoints, utilize traditional HTTP proxies, or rely on standard CONNECT tunneling for end-to-end encryption do not expose this flaw.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10python3.14-urllib3-0:2.6.3-2.el10_2.6Fixed 2026-10-19RHSA-2026:84578
Red Hat Enterprise Linux 10python-urllib3-0:1.26.19-4.el10_2.2Fixed 2026-11-02RHSA-2026:85930
Red Hat Enterprise Linux 10.0 Extended Update Supportpython-urllib3-0:1.26.19-2.el10_0.2Fixed 2026-11-11RHSA-2026:98096
Red Hat Enterprise Linux 8python3.12-urllib3-0:1.26.19-5.el8_10Fixed 2026-10-29RHSA-2026:92474
Red Hat Enterprise Linux 9python3.14-urllib3-0:2.6.3-2.el9_8.6Fixed 2026-10-19RHSA-2026:84577
Red Hat Enterprise Linux 9python3.12-urllib3-0:1.26.19-3.el9_8.2Fixed 2026-10-20RHSA-2026:85929
Red Hat Enterprise Linux 9python-urllib3-0:1.26.5-8.el9_8.2Fixed 2026-10-26RHSA-2026:90494
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionspython-urllib3-0:1.26.5-3.el9_2.5Fixed 2026-11-11RHSA-2026:98126
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionspython3.12-urllib3-0:1.26.18-2.el9_4.3Fixed 2026-11-11RHSA-2026:98097
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionspython-urllib3-0:1.26.5-5.el9_4.5Fixed 2026-11-11RHSA-2026:98125
Ansible Automation Orchestrator 2026ansible-automation-platform/automation-orchestrator-backend-rhel9Affected
Confidential Compute Attestationopenshift-sandboxed-containers/osc-podvm-builder-rhel9Not affected
Exploit Intelligenceexploit-intelligence/vulnerability-analysis-rhel9Under investigation
Lightspeed Corelightspeed-core/lightspeed-stack-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cpu-rhel9Affected
Lightspeed Corelightspeed-core/rag-tool-cuda-12.9-rhel9Affected
Lightspeed Services for Advanced Cluster Managementlightspeed-services-acm/ocp-rules-rhel9Not affected
Migration Toolkit for Applications 8mta/mta-rhel9-operatorAffected
Migration Toolkit for Applications 8mta/mta-solution-server-rhel9Affected
Migration Toolkit for Containersrhmtc/openshift-migration-rhel8-operatorAffected
269 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-97687.

Attack patterns (CAPEC)

  • CAPEC-459 Creating a Rogue Certification Authority Certificate Likelihood: Medium · Severity: Very High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON