AIOHTTP Duplicate Host Header Vulnerability Allowing Potential Access Control Bypass

Vulnerability

A vulnerability in AIOHTTP, an asynchronous HTTP client/server framework for Python, allows multiple Host headers in versions through 3.13.3. This could lead to a bypass of security checks in reverse proxies that rely on Host headers, potentially allowing requests to be processed in privileged sub-applications. The issue has been fixed in AIOHTTP version 3.13.4.

Impact

The vulnerability could cause a host-based access control bypass, allowing requests to be processed in a privileged sub-application.

Reproduction

The vulnerability can be reproduced by sending an HTTP request to a server using AIOHTTP version through 3.13.3 that includes duplicate Host headers. This can be done using a tool like cURL or Postman, or by writing a simple script that uses the AIOHTTP library to send the request. The server should be configured to use 'Application.add_domain()' to demonstrate the potential access control bypass.

Remediation

Users can upgrade to AIOHTTP version 3.13.4 or later, where this vulnerability has been patched.

Added: Apr 1, 2026, 9:45 PM
Updated: Apr 1, 2026, 9:45 PM

Vulnerability Rating

Custom Algorithm
spread
7.3
impact
5.0
exploitability
8.0
remediation
7.7
relevance
5.1
threat
4.8
urgency
2.9
incentive
4.2

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.