CVE-2026-85077
Sanic: HTTP response header injection via missing CR/LF validation in Sanic HTTP/1.1 responses
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.
INFO
Published Date :
Sept. 17, 2026, 3:16 p.m.
Last Modified :
Sept. 24, 2026, 9:22 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 3.1 | HIGH | [email protected] |
Solution
- Update Sanic to version 24.12.1 or higher.
- Validate all response headers for malicious content.
- Implement input validation for header values.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-85077.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-85077 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-85077
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-85077 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-85077 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Sep. 21, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-85077', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'yes'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-09-21T20:45:00.743376Z'} -
New CVE Received by [email protected]
Sep. 17, 2026
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N Added CWE CWE-113 Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/85xxx/CVE-2026-85077.json">CVE-2026-85077</a> Added Reference https://github.com/sanic-org/sanic/commit/47349d689d65fa1907977ac100e867894aeafb22 Added Reference https://github.com/sanic-org/sanic/commit/9a95bb1c187558949606b915f5162c15f2db781b Added Reference https://github.com/sanic-org/sanic/commit/a332796506c7c588b6930b02a8886e43eb8ea8d6 Added Reference https://github.com/sanic-org/sanic/pull/3164 Added Reference https://github.com/sanic-org/sanic/pull/3165 Added Reference https://github.com/sanic-org/sanic/releases/tag/v24.12.1 Added Reference https://github.com/sanic-org/sanic/releases/tag/v25.12.1 Added Reference https://github.com/sanic-org/sanic/security/advisories/GHSA-m64h-22vf-48wm