CVE-2026-34525
JSON

6.3medium

AIOHTTP: Duplicate Host header accepted

Severity
6.3medium CVSS:4.0 by GitHub_M
Exploit likelihood
0.34% (higher than 29% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-c427-h43c-vf67PYSEC-2026-2103

Description

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, multiple Host headers were allowed in aiohttp. This issue has been patched in version 3.13.4.

Affected

Product or packageVersionsReported by
aio-libs aiohttp< 3.13.4CVE List
aiohttp (PyPI)before 3.13.4GitHub Advisory Database, PyPA Advisory Database
aiohttp aiohttpbefore 3.13.4NVD

All scores

GitHub_M6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
PyPA Advisory Database5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Classification

CWE-20CWE-444

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, multiple Host headers were allowed in aiohttp. This issue has been patched in version 3.13.4.

GitHub Advisory Database
Summary

Multiple Host headers were allowed in aiohttp.

Impact

Mostly this doesn't affect aiohttp security itself, but if a reverse proxy is applying security rules depending on the target Host, it is theoretically possible that the proxy and aiohttp could process different host names, possibly resulting in bypassing a security check on the proxy and getting a request processed by aiohttp in a privileged sub app when using Application.add_domain().


Patch: https://github.com/aio-libs/aiohttp/commit/e00ca3cca92c465c7913c4beb763a72da9ed8349 Patch: https://github.com/aio-libs/aiohttp/commit/53e2e6fc58b89c6185be7820bd2c9f40216b3000

NVD (es)

AIOHTTP es un framework asíncrono de cliente/servidor HTTP para asyncio y Python. Antes de la versión 3.13.4, se permitían múltiples encabezados Host en aiohttp. Este problema ha sido parcheado en la versión 3.13.4.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-34525 changed 2026-06-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-c427-h43c-vf67 changed 2026-09-10CC-BY-4.0
NVDCVE-2026-34525 changed 2026-10-26Public domain
PyPA Advisory DatabasePYSEC-2026-2103 changed 2026-07-13CC-BY-4.0