Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-34519: CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') in aio-libs aiohttp

0
Low
VulnerabilityCVE-2026-34519cvecve-2026-34519cwe-113
Published: Wed Apr 01 2026 (04/01/2026, 20:26:25 UTC)
Source: CVE Database V5
Vendor/Project: aio-libs
Product: aiohttp

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/01/2026, 21:09:29 UTC

Technical Analysis

CVE-2026-34519 is a vulnerability classified under CWE-113 (Improper Neutralization of CRLF Sequences in HTTP Headers), affecting the aiohttp library, an asynchronous HTTP client/server framework for Python's asyncio. The flaw exists in aiohttp versions prior to 3.13.4, where the 'reason' parameter used during the creation of HTTP Response objects is not properly sanitized. This allows an attacker who can control this parameter to inject CRLF (carriage return and line feed) sequences, effectively enabling HTTP response splitting attacks. Such attacks can lead to injection of arbitrary headers or manipulation of the HTTP response structure, potentially facilitating further exploits like web cache poisoning or cross-site scripting (XSS) via header injection. The vulnerability does not require any privileges, authentication, or user interaction, and the attack vector is network-based. The issue was identified and patched in version 3.13.4 of aiohttp. The CVSS 4.0 base score is 2.7, reflecting low severity due to limited impact and exploitation complexity. No known exploits are currently active in the wild. The vulnerability highlights the importance of input validation and proper encoding of HTTP header values in asynchronous web frameworks.

Potential Impact

The primary impact of this vulnerability is the potential for HTTP response splitting, which can allow attackers to inject arbitrary HTTP headers or manipulate the response structure. While this does not directly lead to remote code execution or data breaches, it can facilitate secondary attacks such as web cache poisoning, cross-site scripting (XSS), or session fixation. For organizations relying on aiohttp for asynchronous web services or APIs, this could undermine the integrity of HTTP responses and potentially expose users to malicious payloads or session hijacking. The low CVSS score indicates limited direct damage, but the vulnerability could be leveraged as part of a broader attack chain. Since aiohttp is widely used in Python web applications, especially in microservices and asynchronous environments, any exposed endpoints that reflect the 'reason' parameter without sanitization are at risk. The absence of authentication or user interaction requirements increases the attack surface, making publicly accessible services more vulnerable. However, the lack of known exploits in the wild suggests limited active exploitation currently.

Mitigation Recommendations

Organizations should upgrade all aiohttp deployments to version 3.13.4 or later, where this vulnerability has been patched. Developers should audit their code to ensure that any user-controllable input passed to the 'reason' parameter or similar HTTP header fields is properly sanitized or encoded to prevent CRLF injection. Implement strict input validation and output encoding for all HTTP header values, especially those dynamically generated from user input. Employ web application firewalls (WAFs) with rules designed to detect and block HTTP response splitting attempts. Conduct thorough testing of HTTP responses to verify that no unintended header injection or response splitting occurs. For critical services, consider additional monitoring for anomalous HTTP responses or header manipulations. Finally, maintain an up-to-date inventory of aiohttp versions in use across the organization to ensure timely patching.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-30T16:03:31.047Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69cd85bee6bfc5ba1df9d43b

Added to database: 4/1/2026, 8:53:18 PM

Last enriched: 4/1/2026, 9:09:29 PM

Last updated: 4/6/2026, 7:47:04 AM

Views: 35

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses