CVE-2026-54275

AIOHTTP: TLS Server Hostname Override Is Ignored When Reusing HTTPS Connections

State
Published
Severity
2.7 Low
Published
Jun 22, 2026
Updated
Jun 22, 2026
Reserved
Jun 12, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.02.7 LowCVSS: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:UGitHub_M

Weaknesses

  • CWE-297 Improper Validation of Certificate with Host Mismatch

Affected Products

ProductVersions
aiohttpaio-libs
  • < 3.14.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.