Improper Validation of Certificate with Host Mismatch Affecting aiohttp package, versions [,3.14.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-AIOHTTP-17342400
  • published16 Jun 2026
  • disclosed15 Jun 2026
  • creditDenys Pakizh

Introduced: 15 Jun 2026

NewCVE-2026-54275  (opens in a new tab)
CWE-297  (opens in a new tab)

How to fix?

Upgrade aiohttp to version 3.14.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Validation of Certificate with Host Mismatch in the server_hostname parameter handling during HTTPS connection reuse. An attacker can bypass intended TLS SNI checks by reusing an existing connection with a different server_hostname, potentially allowing connections to unintended hosts.

CVSS Base Scores

version 4.0
version 3.1