CVE-2024-52304 in Aiohttp
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.10.11, the Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions. If a pure Python version of aiohttp is installed (i.e. without the ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Aiohttp | Aiohttp | < 3.10.11 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.10.11, the Python parser parses newlines in chunk extensions incorrectly which can lead to request smuggling vulnerabilities under certain conditions. If a pure Python version of aiohttp is installed (i.e. without the usual C extensions) or `AIOHTTP_NO_EXTENSIONS` is enabled, then an attacker may be able to execute a request smuggling attack to bypass certain firewalls or proxy protections. Version 3.10.11 fixes the issue.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-52304 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-045453-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| Published | 2024-11-18 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-444: CWE-444
Related attack patterns (CAPEC)
CAPEC-33 HTTP Request Smuggling via CWE-444
CAPEC-273 HTTP Response Smuggling via CWE-444
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-52304 affects aiohttp versions prior to 3.10.11, introducing a request smuggling vulnerability due to incorrect parsing of newlines in chunk extensions.
The vulnerability arises from the Python parser's incorrect handling of newlines in chunk extensions in aiohttp. This can be exploited if the pure Python version of aiohttp is used or if the `AIOHTTP_NO_EXTENSIONS` environment variable is enabled.
Questions
What is CVE-2024-52304?
CVE-2024-52304 affects aiohttp versions prior to 3.10.11, introducing a request smuggling vulnerability due to incorrect parsing of newlines in chunk extensions.
What is the CVSS score for CVE-2024-52304?
CVE-2024-52304 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 1.0%.
Is CVE-2024-52304 actively exploited?
No confirmed active exploitation of CVE-2024-52304 as of 2026-09-25.
How do I remediate CVE-2024-52304?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2024-52304?
CVE-2024-52304 affects Aiohttp Aiohttp.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Aiohttp","product":"Aiohttp","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.