Header injection via unchecked carriage returns
Published Apr 1, 2026 · Updated Apr 1, 2026
HTTP response splitting in aio-libs aiohttp before 3.13.4 allows remote attackers to inject response headers through a crafted reason phrase. StreamResponse._set_status rejects line feeds but not carriage returns in an application-supplied reason, and the HTTP writer serializes that reason into the status line without neutralizing carriage returns. Exploitation requires an application to place remote input in the reason parameter; injected bytes can alter the response, including adding a Set-Cookie header, but do not directly expose server data or execute code.
Summary
What happened
HTTP response splitting in aio-libs aiohttp before 3.13.4 allows remote attackers to inject response headers through a crafted reason phrase. StreamResponse._set_status rejects line feeds but not carriage returns in an application-supplied reason, and the HTTP writer serializes that reason into the status line without neutralizing carriage returns. Exploitation requires an application to place remote input in the reason parameter; injected bytes can alter the response, including adding a Set-Cookie header, but do not directly expose server data or execute code.
The record
- CVE
- CVE-2026-34519
- Published
- Apr 1, 2026
- Updated
- Apr 1, 2026
- Vendor
- aio-libs
- Product
- aiohttp
- Classifications
- CWE-113, T1565.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 1, 2026CVE publishedPublication date reported by the CVE source.
- Apr 1, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 3.13.4
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo