CVE-2026-85077: CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') in sanic-org sanic
Sanic is an opensource python web server/framework. Prior to version 24.12.1, and in version 25.12.0, the HTTP/1.1 response pipeline in sanic/response/types.py serializes response header names and values without rejecting carriage-return or line-feed characters. Applications that place attacker-controlled data in response.headers, file(..., filename=...), or cookie path and domain attributes can therefore emit injected headers and may split responses. Depending on application and proxy behavior, this can enable session fixation through injected cookies, cache poisoning, or security-header corruption. This issue is fixed in versions 24.12.1 and 25.12.1.
AI Analysis
Technical Summary
Sanic versions before 24.12.1 and version 25.12.0 improperly serialize HTTP/1.1 response headers without rejecting carriage-return or line-feed characters in header names and values. This allows attacker-controlled data placed in response headers, file attachment filenames, or cookie path and domain attributes to inject headers and split HTTP responses. Such response splitting can enable session fixation via injected cookies, cache poisoning, or corruption of security headers. The vulnerability is addressed in Sanic versions 24.12.1 and 25.12.1.
Potential Impact
An attacker can exploit this vulnerability to inject arbitrary HTTP headers and split HTTP responses. This may result in session fixation attacks through injected cookies, cache poisoning, or manipulation of security headers, potentially compromising user sessions and application security. The CVSS score of 8.2 (high) reflects the significant impact on confidentiality and integrity without requiring privileges or user interaction.
Mitigation Recommendations
Upgrade Sanic to version 24.12.1 or later, or to version 25.12.1 or later. These versions include fixes that properly sanitize CRLF characters in HTTP headers, preventing response splitting. No other mitigation is required as the issue is fixed in these versions.
CVE-2026-85077: CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') in sanic-org sanic
Description
Sanic is an opensource python web server/framework. Prior to version 24.12.1, and in version 25.12.0, the HTTP/1.1 response pipeline in sanic/response/types.py serializes response header names and values without rejecting carriage-return or line-feed characters. Applications that place attacker-controlled data in response.headers, file(..., filename=...), or cookie path and domain attributes can therefore emit injected headers and may split responses. Depending on application and proxy behavior, this can enable session fixation through injected cookies, cache poisoning, or security-header corruption. This issue is fixed in versions 24.12.1 and 25.12.1.
CVSS v3.1
Score 8.2high
Affected software
sanic-org
sanic
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Sanic versions before 24.12.1 and version 25.12.0 improperly serialize HTTP/1.1 response headers without rejecting carriage-return or line-feed characters in header names and values. This allows attacker-controlled data placed in response headers, file attachment filenames, or cookie path and domain attributes to inject headers and split HTTP responses. Such response splitting can enable session fixation via injected cookies, cache poisoning, or corruption of security headers. The vulnerability is addressed in Sanic versions 24.12.1 and 25.12.1.
Potential Impact
An attacker can exploit this vulnerability to inject arbitrary HTTP headers and split HTTP responses. This may result in session fixation attacks through injected cookies, cache poisoning, or manipulation of security headers, potentially compromising user sessions and application security. The CVSS score of 8.2 (high) reflects the significant impact on confidentiality and integrity without requiring privileges or user interaction.
Mitigation Recommendations
Upgrade Sanic to version 24.12.1 or later, or to version 25.12.1 or later. These versions include fixes that properly sanitize CRLF characters in HTTP headers, preventing response splitting. No other mitigation is required as the issue is fixed in these versions.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-09-02T21:21:01.776Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6aabfa1355bf5e2cf57f75de
Added to database: 09/17/2026, 14:32:51 UTC
Last enriched: 09/17/2026, 14:47:21 UTC
Last updated: 09/17/2026, 22:43:43 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.