What’s Vulnerable › Vulnerabilities

CVE-2026-54275: AIOHTTP: TLS Server Hostname Override Is Ignored When Reusing HTTPS Connections

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 products

How to fix

Upgrade to a fixed version: aio-libs aiohttp 3.14.1; Pypi Aiohttp 3.14.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-54275 or the next vulnerability affects your stack