CVE-2026-54275
JSON

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 packageVersionsReported by
aio-libs aiohttp< 3.14.1CVE List
aiohttp (PyPI)before 3.14.1GitHub Advisory Database, PyPA Advisory Database
aiohttp aiohttpbefore 3.14.1NVD

All scores

GitHub_M2.7low CVSS:4.0CVSS: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
GitHublow CVSS:4.0CVSS: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
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
PyPA Advisory Database7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-297

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

Sources

SourceRecordLicence
CVE ListCVE-2026-54275 changed 2026-06-22CVE Terms of Use
GitHub Advisory DatabaseGHSA-4m7w-qmgq-4wj5 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-54275 changed 2026-10-25Public domain
PyPA Advisory DatabasePYSEC-2026-237 changed 2026-06-27CC-BY-4.0