Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTTP response header sanitization
|
| Impact | The CVSS 2.7 score reflects low severity with network-accessible attack vector (AV:N) and low complexity (AC:L), but integrity impact limited to low (VI:L) and no confidentiality or availability impact. The CVSS vector indicates no authentication required (PR:N), though exploitation requires the attacker to influence application code that passes attacker-controlled input to the reason parameter-a moderate precondition. No EPSS score, KEV status, or public POC data is available. The real-world risk is low: exploitation requires either a developer coding error (passing unsanitized user input directly to reason) or a supply-chain scenario where an upstream dependency accepts user-controlled reason values. This is a classic header injection with limited impact scope, not a remote code execution vector. Priority should be routine patching during the next maintenance window rather than emergency remediation. |
| Exploit ScenarioDerived | A web application built with AIOHTTP receives user input from a query parameter and passes it directly to the reason field of a Response object (e.g., response = web.Response(status=200, reason=user_input)). An attacker crafts input containing CRLF sequences to inject additional HTTP headers, such as Set-Cookie or X-Custom-Header, into the response. No public POC exists, and this attack requires a developer implementation flaw rather than a direct network-level exploit. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 01, 2026
Header injection in AIOHTTP prior to version 3.13.4 allows remote attackers to inject arbitrary HTTP headers or conduct similar exploits by controlling the reason parameter when creating a Response object. The vulnerability has low real-world impact (CVSS 2.7, EPSS not available) and requires the attacker to control application-level input that directly influences the reason parameter; no public exploit code or active exploitation has been identified. A vendor-released patch is available in version 3.13.4.
RemediationAI
Upgrade AIOHTTP to version 3.13.4 or later. The fix has been released and is available via PyPI; users should update via pip install --upgrade aiohttp>=3.13.4. For immediate mitigation prior to upgrade, do not pass user-controlled or untrusted input directly to the reason parameter of Response objects; validate or sanitize any application-level input before using it in HTTP response generation. Refer to the GitHub release page (https://github.com/aio-libs/aiohttp/releases/tag/v3.13.4) and the security advisory for additional details.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
AIOHTTP is a Python asynchronous HTTP client/server framework built on asyncio. The vulnerability stems from improper handling of the reason parameter in the Response class, which is used to set the HTTP reason phrase (the text portion of the status line, e.g., 'OK' in '200 OK'). CWE-113 (Improper Neutralization of CRLF Sequences in HTTP Headers) indicates the root cause: the reason parameter is not properly sanitized before being embedded in HTTP response headers, potentially allowing newline injection (CRLF) to introduce additional headers or payload data. The affected product is AIOHTTP versions prior to 3.13.4 across all supported platforms (CPE: cpe:2.3:a:aio-libs:aiohttp:*:*:*:*:*:*:*:*).
Know when Aiohttp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U
Primary rating from Vendor (GitHub_M) · only source for this CVE.
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
AIOHTTP is an asynchronous HTTP client/server framework for asyncio and Python. Prior to version 3.13.4, an attacker who controls the reason parameter when creating a Response may be able to inject extra headers or similar exploits. This issue has been patched in version 3.13.4.
Blast Radius
ecosystem impact- 84 pypi packages depend on aiohttp (39 direct, 45 indirect)
Ecosystem-wide dependent count for version 3.13.4.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated high severity (CVSS 7.5), this vul
Out-of-bounds heap read in aiohttp's C HTTP response parser (versions ≤ 3.14.2) allows an attacker-controlled server to
Uncontrolled decompression in aiohttp's WebSocket client prior to version 3.14.2 allows a malicious server to exhaust CP
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 6.5), this v
HTTP request smuggling in aiohttp's server-side parser allows unauthenticated remote attackers to inject and misdirect H
AIOHTTP 3.8.1 can report a "ValueError: Invalid IPv6 URL" outcome, which can lead to a Denial of Service (DoS). Rated me
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v
aiohttp is an asynchronous HTTP client/server framework for asyncio and Python. Rated medium severity (CVSS 5.3), this v
A remote attacker can exhaust server memory or stall the event loop through aiohttp's multipart parser in versions up to
Quadratic CPU consumption in aiohttp before 3.14.4 lets a remote attacker stall a server's asyncio event loop by sending
In aiohttp releases prior to 3.14.4, any unauthenticated POST that reaches a handler calling Request.post() can stall th
EUVD-2026-18044
GHSA-mwh4-6h8g-pg8w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB