UBUNTU-CVE-2026-97687 (CVE-2026-97687)
Vulnerability from osv_ubuntu – Published: 2026-09-29 16:17 – Updated: 2026-09-29 16:17 – Source websiteurllib3 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": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-pip",
"binary_version": "1.5.4-1ubuntu4+esm5"
},
{
"binary_name": "python-pip-whl",
"binary_version": "1.5.4-1ubuntu4+esm5"
},
{
"binary_name": "python3-pip",
"binary_version": "1.5.4-1ubuntu4+esm5"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "python-pip",
"purl": "pkg:deb/ubuntu/python-pip@1.5.4-1ubuntu4+esm5?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.4.1-2",
"1.5.4-1",
"1.5.4-1ubuntu1",
"1.5.4-1ubuntu3",
"1.5.4-1ubuntu4",
"1.5.4-1ubuntu4+esm1",
"1.5.4-1ubuntu4+esm2",
"1.5.4-1ubuntu4+esm3",
"1.5.4-1ubuntu4+esm4",
"1.5.4-1ubuntu4+esm5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-urllib3",
"binary_version": "1.7.1-1ubuntu4.1+esm1"
},
{
"binary_name": "python-urllib3-whl",
"binary_version": "1.7.1-1ubuntu4.1+esm1"
},
{
"binary_name": "python3-urllib3",
"binary_version": "1.7.1-1ubuntu4.1+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "python-urllib3",
"purl": "pkg:deb/ubuntu/python-urllib3@1.7.1-1ubuntu4.1+esm1?arch=source\u0026distro=esm-infra-legacy/trusty"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.6-2",
"1.7.1-1",
"1.7.1-1build1",
"1.7.1-1ubuntu0.1",
"1.7.1-1ubuntu3",
"1.7.1-1ubuntu4",
"1.7.1-1ubuntu4.1",
"1.7.1-1ubuntu4.1+esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-urllib3",
"binary_version": "1.13.1-2ubuntu0.16.04.4+esm4"
},
{
"binary_name": "python3-urllib3",
"binary_version": "1.13.1-2ubuntu0.16.04.4+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "python-urllib3",
"purl": "pkg:deb/ubuntu/python-urllib3@1.13.1-2ubuntu0.16.04.4+esm4?arch=source\u0026distro=esm-infra-legacy/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11-1",
"1.12-1",
"1.13.1-1",
"1.13.1-2",
"1.13.1-2ubuntu0.16.04.1",
"1.13.1-2ubuntu0.16.04.2",
"1.13.1-2ubuntu0.16.04.3",
"1.13.1-2ubuntu0.16.04.4",
"1.13.1-2ubuntu0.16.04.4+esm1",
"1.13.1-2ubuntu0.16.04.4+esm2",
"1.13.1-2ubuntu0.16.04.4+esm3",
"1.13.1-2ubuntu0.16.04.4+esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-pip",
"binary_version": "8.1.1-2ubuntu0.6+esm12"
},
{
"binary_name": "python-pip-whl",
"binary_version": "8.1.1-2ubuntu0.6+esm12"
},
{
"binary_name": "python3-pip",
"binary_version": "8.1.1-2ubuntu0.6+esm12"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "python-pip",
"purl": "pkg:deb/ubuntu/python-pip@8.1.1-2ubuntu0.6+esm12?arch=source\u0026distro=esm-apps/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.5.6-7ubuntu1",
"1.5.6-7ubuntu2",
"8.0.2-7",
"8.0.3-1",
"8.0.3-2",
"8.1.0-1",
"8.1.0-2",
"8.1.1-1",
"8.1.1-2",
"8.1.1-2ubuntu0.1",
"8.1.1-2ubuntu0.2",
"8.1.1-2ubuntu0.4",
"8.1.1-2ubuntu0.6",
"8.1.1-2ubuntu0.6+esm2",
"8.1.1-2ubuntu0.6+esm3",
"8.1.1-2ubuntu0.6+esm4",
"8.1.1-2ubuntu0.6+esm5",
"8.1.1-2ubuntu0.6+esm6",
"8.1.1-2ubuntu0.6+esm8",
"8.1.1-2ubuntu0.6+esm10",
"8.1.1-2ubuntu0.6+esm11",
"8.1.1-2ubuntu0.6+esm12"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-urllib3",
"binary_version": "1.22-1ubuntu0.18.04.2+esm4"
},
{
"binary_name": "python3-urllib3",
"binary_version": "1.22-1ubuntu0.18.04.2+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "python-urllib3",
"purl": "pkg:deb/ubuntu/python-urllib3@1.22-1ubuntu0.18.04.2+esm4?arch=source\u0026distro=esm-infra/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.21.1-1",
"1.22-1",
"1.22-1ubuntu0.18.04.1",
"1.22-1ubuntu0.18.04.2",
"1.22-1ubuntu0.18.04.2+esm1",
"1.22-1ubuntu0.18.04.2+esm2",
"1.22-1ubuntu0.18.04.2+esm3",
"1.22-1ubuntu0.18.04.2+esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-pip",
"binary_version": "9.0.1-2.3~ubuntu1.18.04.8+esm8"
},
{
"binary_name": "python-pip-whl",
"binary_version": "9.0.1-2.3~ubuntu1.18.04.8+esm8"
},
{
"binary_name": "python3-pip",
"binary_version": "9.0.1-2.3~ubuntu1.18.04.8+esm8"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:18.04:LTS",
"name": "python-pip",
"purl": "pkg:deb/ubuntu/python-pip@9.0.1-2.3~ubuntu1.18.04.8+esm8?arch=source\u0026distro=esm-apps/bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"9.0.1-2",
"9.0.1-2.3~ubuntu1",
"9.0.1-2.3~ubuntu1.18.04.1",
"9.0.1-2.3~ubuntu1.18.04.2",
"9.0.1-2.3~ubuntu1.18.04.3",
"9.0.1-2.3~ubuntu1.18.04.4",
"9.0.1-2.3~ubuntu1.18.04.5",
"9.0.1-2.3~ubuntu1.18.04.5+esm2",
"9.0.1-2.3~ubuntu1.18.04.5+esm3",
"9.0.1-2.3~ubuntu1.18.04.6",
"9.0.1-2.3~ubuntu1.18.04.6+esm1",
"9.0.1-2.3~ubuntu1.18.04.7",
"9.0.1-2.3~ubuntu1.18.04.7+esm1",
"9.0.1-2.3~ubuntu1.18.04.8",
"9.0.1-2.3~ubuntu1.18.04.8+esm1",
"9.0.1-2.3~ubuntu1.18.04.8+esm2",
"9.0.1-2.3~ubuntu1.18.04.8+esm4",
"9.0.1-2.3~ubuntu1.18.04.8+esm6",
"9.0.1-2.3~ubuntu1.18.04.8+esm7",
"9.0.1-2.3~ubuntu1.18.04.8+esm8"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-urllib3",
"binary_version": "1.25.8-2ubuntu0.4+esm5"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "python-urllib3",
"purl": "pkg:deb/ubuntu/python-urllib3@1.25.8-2ubuntu0.4+esm5?arch=source\u0026distro=esm-infra/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.24.1-1ubuntu1",
"1.24.1-1ubuntu2",
"1.25.8-1",
"1.25.8-2",
"1.25.8-2ubuntu0.1",
"1.25.8-2ubuntu0.2",
"1.25.8-2ubuntu0.3",
"1.25.8-2ubuntu0.4",
"1.25.8-2ubuntu0.4+esm1",
"1.25.8-2ubuntu0.4+esm2",
"1.25.8-2ubuntu0.4+esm3",
"1.25.8-2ubuntu0.4+esm4",
"1.25.8-2ubuntu0.4+esm5"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python-pip-whl",
"binary_version": "20.0.2-5ubuntu1.11+esm4"
},
{
"binary_name": "python3-pip",
"binary_version": "20.0.2-5ubuntu1.11+esm4"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "python-pip",
"purl": "pkg:deb/ubuntu/python-pip@20.0.2-5ubuntu1.11+esm4?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"18.1-5",
"18.1-5build1",
"18.1-5ubuntu1",
"20.0.2-2",
"20.0.2-4",
"20.0.2-5",
"20.0.2-5ubuntu1",
"20.0.2-5ubuntu1.1",
"20.0.2-5ubuntu1.3",
"20.0.2-5ubuntu1.4",
"20.0.2-5ubuntu1.5",
"20.0.2-5ubuntu1.6",
"20.0.2-5ubuntu1.7",
"20.0.2-5ubuntu1.8",
"20.0.2-5ubuntu1.9",
"20.0.2-5ubuntu1.10",
"20.0.2-5ubuntu1.10+esm2",
"20.0.2-5ubuntu1.11",
"20.0.2-5ubuntu1.11+esm2",
"20.0.2-5ubuntu1.11+esm3",
"20.0.2-5ubuntu1.11+esm4"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-urllib3",
"binary_version": "1.26.5-1~exp1ubuntu0.7"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "python-urllib3",
"purl": "pkg:deb/ubuntu/python-urllib3@1.26.5-1~exp1ubuntu0.7?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.26.5-1~exp1",
"1.26.5-1~exp1ubuntu0.1",
"1.26.5-1~exp1ubuntu0.2",
"1.26.5-1~exp1ubuntu0.3",
"1.26.5-1~exp1ubuntu0.4",
"1.26.5-1~exp1ubuntu0.5",
"1.26.5-1~exp1ubuntu0.6",
"1.26.5-1~exp1ubuntu0.7"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pip",
"binary_version": "22.0.2+dfsg-1ubuntu0.7+esm3"
},
{
"binary_name": "python3-pip-whl",
"binary_version": "22.0.2+dfsg-1ubuntu0.7+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:22.04:LTS",
"name": "python-pip",
"purl": "pkg:deb/ubuntu/python-pip@22.0.2+dfsg-1ubuntu0.7+esm3?arch=source\u0026distro=esm-apps/jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"20.3.4-4",
"21.3.1+dfsg-3",
"22.0.2+dfsg-1",
"22.0.2+dfsg-1ubuntu0.1",
"22.0.2+dfsg-1ubuntu0.2",
"22.0.2+dfsg-1ubuntu0.3",
"22.0.2+dfsg-1ubuntu0.4",
"22.0.2+dfsg-1ubuntu0.5",
"22.0.2+dfsg-1ubuntu0.6",
"22.0.2+dfsg-1ubuntu0.7",
"22.0.2+dfsg-1ubuntu0.7+esm1",
"22.0.2+dfsg-1ubuntu0.7+esm2",
"22.0.2+dfsg-1ubuntu0.7+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-urllib3",
"binary_version": "2.0.7-1ubuntu0.7"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "python-urllib3",
"purl": "pkg:deb/ubuntu/python-urllib3@2.0.7-1ubuntu0.7?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.26.16-1",
"1.26.18-1",
"2.0.7-1",
"2.0.7-1ubuntu0.1",
"2.0.7-1ubuntu0.2",
"2.0.7-1ubuntu0.3",
"2.0.7-1ubuntu0.4",
"2.0.7-1ubuntu0.5",
"2.0.7-1ubuntu0.6",
"2.0.7-1ubuntu0.7"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pip",
"binary_version": "24.0+dfsg-1ubuntu1.3+esm3"
},
{
"binary_name": "python3-pip-whl",
"binary_version": "24.0+dfsg-1ubuntu1.3+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:24.04:LTS",
"name": "python-pip",
"purl": "pkg:deb/ubuntu/python-pip@24.0+dfsg-1ubuntu1.3+esm3?arch=source\u0026distro=esm-apps/noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"23.2+dfsg-1",
"23.3+dfsg-1",
"24.0+dfsg-1",
"24.0+dfsg-1ubuntu1",
"24.0+dfsg-1ubuntu1.1",
"24.0+dfsg-1ubuntu1.2",
"24.0+dfsg-1ubuntu1.3",
"24.0+dfsg-1ubuntu1.3+esm1",
"24.0+dfsg-1ubuntu1.3+esm2",
"24.0+dfsg-1ubuntu1.3+esm3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-urllib3",
"binary_version": "2.6.3-1ubuntu1.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "python-urllib3",
"purl": "pkg:deb/ubuntu/python-urllib3@2.6.3-1ubuntu1.1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2.3.0-3",
"2.5.0-1",
"2.5.0-1ubuntu1",
"2.5.0-1ubuntu2",
"2.6.3-1ubuntu1",
"2.6.3-1ubuntu1.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-pip",
"binary_version": "25.1.1+dfsg-1ubuntu2+esm3"
},
{
"binary_name": "python3-pip-whl",
"binary_version": "25.1.1+dfsg-1ubuntu2+esm3"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:26.04:LTS",
"name": "python-pip",
"purl": "pkg:deb/ubuntu/python-pip@25.1.1+dfsg-1ubuntu2+esm3?arch=source\u0026distro=esm-apps/resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"25.1.1+dfsg-1ubuntu2",
"25.1.1+dfsg-1ubuntu2+esm1",
"25.1.1+dfsg-1ubuntu2+esm2",
"25.1.1+dfsg-1ubuntu2+esm3"
]
}
],
"aliases": [],
"details": "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\u0027s 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.",
"id": "UBUNTU-CVE-2026-97687",
"modified": "2026-09-29T16:17:00Z",
"published": "2026-09-29T16:17:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2026-97687"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-97687"
},
{
"type": "REPORT",
"url": "https://github.com/urllib3/urllib3/security/advisories/GHSA-8988-9cw3-xx77"
},
{
"type": "REPORT",
"url": "https://github.com/urllib3/urllib3/pull/5093"
},
{
"type": "REPORT",
"url": "https://github.com/urllib3/urllib3/commit/07408cec79d1856d81bb42c74a904a24fdb9e465"
},
{
"type": "REPORT",
"url": "https://github.com/urllib3/urllib3/commit/b6447295fff7b38fdffc67e0df9712d60cef3cc3"
},
{
"type": "REPORT",
"url": "https://github.com/urllib3/urllib3/releases/tag/2.8.0"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2026-97687"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.