Skip to main content

CVE-2026-85077: CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') in sanic-org sanic

0
High
VulnerabilityCVE-2026-85077cvecve-2026-85077cwe-113
Published: 09/17/2026 (09/17/2026, 14:26:39 UTC)
Source: CVE Database V5
Vendor/Project: sanic-org
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N

Affected software

sanic-org

sanic

Affected versions
<24.12.1>=25.12.0 <25.12.1
sanic
pkg:pypi/sanic
Affected versions
<24.12.1>=25.12.0 <25.12.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/17/2026, 14:47:21 UTC

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.

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-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 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