Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54275: CWE-297: Improper Validation of Certificate with Host Mismatch in aio-libs aiohttp

0
Low
VulnerabilityCVE-2026-54275cvecve-2026-54275cwe-297
Published: 06/22/2026 (06/22/2026, 16:34:56 UTC)
Source: CVE Database V5
Vendor/Project: aio-libs
Product: aiohttp

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.

CVSS v4.0

Score 2.7low

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
Low
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

aiohttp
pkg:pypi/aiohttp
Affected versions
<3.14.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/22/2026, 17:55:42 UTC

Technical Analysis

CVE-2026-54275 affects aiohttp, an asynchronous HTTP client/server framework for Python. The vulnerability involves improper validation of TLS server certificates with host mismatches (CWE-297). Specifically, when an existing connection is reused, the server_hostname TLS SNI check can be bypassed if multiple requests to the same domain specify different server_hostname parameters. This can cause later requests to succeed when they should be rejected due to TLS SNI mismatch. The flaw is addressed in aiohttp version 3.14.1.

Potential Impact

The vulnerability could allow an attacker to bypass TLS server hostname verification when connections are reused, potentially undermining the security guarantees of TLS SNI checks. However, the CVSS score is low (2.7), indicating limited impact and exploitability. There are no known exploits in the wild.

Mitigation Recommendations

Upgrade aiohttp to version 3.14.1 or later, where this vulnerability is fixed. No other mitigation or temporary workaround is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-06-12T17:13:32.280Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a39735beed863c81e39625a

Added to database: 06/22/2026, 17:39:39 UTC

Last enriched: 06/22/2026, 17:55:42 UTC

Last updated: 06/22/2026, 19:09:21 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses