# CVE-2026-97687: urllib3: HTTPS proxy TLS configuration may be ignored or overridden

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.6
- **CVSS:** 7.6 (v4.0, CNA) `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 metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Passive; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.29% (percentile 14, 2026-11-28)
- **CWE:** CWE-295, CWE-440
- **Aliases:** GHSA-8988-9cw3-xx77, PYSEC-2026-4175
- **Published:** 2026-09-29T15:30:27.136Z
- **Modified:** 2026-10-13T20:27:23.130Z

## Who should check

- Projects that depend on PyPI package urllib3 (\>= 1.26.0, \< 2.8.0)
- Anyone running urllib3 \>= 1.26.0, \< 2.8.0

## 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 and fixed versions

- PyPI `urllib3`: affected \>= 1.26.0, \< 2.8.0; fixed 2.8.0 (osv)
- urllib3: \>= 1.26.0, \< 2.8.0 (cvelist)

## Mitigation

- Upgrade urllib3 to 2.8.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-97687. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97687.md
Affected: urllib3 >= 1.26.0, < 2.8.0
Fixed in: 2.8.0

Steps:
1. Search this machine and project for urllib3 (PyPI), urllib3: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-97687 being exploited?

There is no confirmed exploitation: CVE-2026-97687 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.29% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-97687?

High: CVSS 7.6 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-97687?

urllib3 \>= 1.26.0, \< 2.8.0.

### Is there a fix for CVE-2026-97687?

Yes. Fixed in 2.8.0. Upgrade urllib3 to 2.8.0 or later.

### How do I check if I'm affected by CVE-2026-97687?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-97687>
- vendor: <https://github.com/advisories/GHSA-8988-9cw3-xx77>
- patch: <https://github.com/urllib3/urllib3/pull/5093>
- patch: <https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465>
- patch: <https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3>
- other: <https://github.com/urllib3/urllib3/releases/tag/2.8.0>
- other: <https://github.com/urllib3/urllib3>
- other: <https://pypi.org/project/urllib3>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-97687>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-8988-9cw3-xx77> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-4175> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-97687> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-97687>
