2.7low
AIOHTTP: TLS Server Hostname Override Is Ignored When Reusing HTTPS Connections
- Severity
- 2.7low CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.27% (higher than 19% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-4m7w-qmgq-4wj5PYSEC-2026-237
Description
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, the server_hostname TLS SNI check can be bypassed when an existing connection is reused. If an application makes multiple requests to the same domain, but with different per-request server_hostname parameters, then the later calls may succeed by reusing the existing connection when they should have been rejected due to the TLS SNI check. This vulnerability is fixed in 3.14.1.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| aio-libs aiohttp | < 3.14.1 | CVE List |
| aiohttp (PyPI) | before 3.14.1 | GitHub Advisory Database, PyPA Advisory Database |
| aiohttp aiohttp | before 3.14.1 | NVD |
All scores
| GitHub_M | 2.7low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:U |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to 3.14.1, the server_hostname TLS SNI check can be bypassed when an existing connection is reused. If an application makes multiple requests to the same domain, but with different per-request server_hostname parameters, then the later calls may succeed by reusing the existing connection when they should have been rejected due to the TLS SNI check. This vulnerability is fixed in 3.14.1.
GitHub Advisory Database
Summary
The server_hostname TLS SNI check can be bypassed when an existing connection is reused.
Impact
If an application makes multiple requests to the same domain, but with different per-request server_hostname parameters, then the later calls may succeed by reusing the existing connection when they should have been rejected due to the TLS SNI check.
Workaround
Disable keep_alive if you need to change the server_hostname check between requests.
Patch: https://github.com/aio-libs/aiohttp/commit/0ca2b6c28a25726527a8b60f25960262a91ed0e0
NVD (es)
AIOHTTP es un framework HTTP cliente/servidor asíncrono para asyncio y Python. Antes de 3.14.1, la verificación TLS SNI de server_hostname puede ser eludida cuando se reutiliza una conexión existente. Si una aplicación realiza múltiples solicitudes al mismo dominio, pero con diferentes parámetros server_hostname por solicitud, entonces las llamadas posteriores pueden tener éxito al reutilizar la conexión existente cuando deberían haber sido rechazadas debido a la verificación TLS SNI. Esta vulnerabilidad está corregida en 3.14.1.
References
| https://github.com/aio-libs/aiohttp/security/advisories/GHSA-4m7w-qmgq-4wj5 | advisory, third-party-advisory, web | |
| https://github.com/aio-libs/aiohttp | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-54275 changed 2026-06-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4m7w-qmgq-4wj5 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-54275 changed 2026-10-25 | Public domain |
| PyPA Advisory Database | PYSEC-2026-237 changed 2026-06-27 | CC-BY-4.0 |