PatchSiren cyber security CVE debrief
CVE-2026-85077 sanic-org CVE debrief
CVE-2026-85077 Sanic Web Server Header Injection Vulnerability. This high-severity issue in Sanic, an open-source Python web server/framework, allows for header injection due to improper serialization of response header names and values. This can lead to various security problems, including session fixation, cache poisoning, and security-header corruption. Sanic users and administrators should assess their exposure, validate response header handling in their applications, and update to a fixed version of Sanic as a priority.
- Vendor
- sanic-org
- Product
- sanic
- CVSS
- HIGH 8.2
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-09-17
- Original CVE updated
- 2026-09-21
- Advisory published
- 2026-09-17
- Advisory updated
- 2026-09-21
Who should care
Sanic users and administrators, developers using Sanic in their applications, security teams responsible for web server security, and operators managing Sanic-based services should be aware of this vulnerability. They should assess their exposure, validate response header handling, and update to a fixed version of Sanic as a priority. Vulnerability management and security teams should also review and monitor for potential security issues related to thisCVE
Why it matters
CVE-2026-85077 is a high-severity vulnerability in Sanic, an open-source Python web server/framework. The issue allows for header injection, which can lead to various security problems. Sanic users and administrators should assess their exposure, validate response header handling in their applications, and update to a fixed version of Sanic as a priority.
- Potential for session fixation through injected cookies
- Risk of cache poisoning due to response splitting
- Possible security-header corruption
- Need for validation and updates to Sanic
Technical summary
The HTTP/1.1 response pipeline in Sanic's response/types.py serializes response header names and values without rejecting carriage-return or line-feed characters. This can allow attackers to inject headers and potentially split responses, leading to issues like session fixation, cache poisoning, or security-header corruption. The vulnerability is fixed in versions 24.12.1 and 25.12.1 of Sanic. Applications that place attacker-controlled data in response.headers, file(..., filename=...), or cookie path and domain attributes are particularly vulnerable.
Defensive priority
High priority for Sanic users and administrators
Recommended defensive actions
- Review and update Sanic to version 24.12.1 or 25.12.1
- Assess and validate response header handling in applications using Sanic
- Monitor for potential security issues related to injected headers
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
- Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
- Plan vendor-supported updates or mitigations through normal change control where exposure is confirmed
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
Evidence notes
The CVE record and NVD entry provide details on the vulnerability in Sanic, an open-source Python web server/framework. The issue is related to the serialization of response header names and values without rejecting carriage-return or line-feed characters, which can lead to injected headers and potential security issues.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-85077 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-85077
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-85077 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-85077
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/sanic-org/sanic/commit/47349d689d65fa1907977ac100e867894aeafb22
-
Source reference
Unverified legacy reference
URL: https://github.com/sanic-org/sanic/commit/9a95bb1c187558949606b915f5162c15f2db781b
-
Source reference
Unverified legacy reference
URL: https://github.com/sanic-org/sanic/commit/a332796506c7c588b6930b02a8886e43eb8ea8d6
-
Source reference
Unverified legacy reference
URL: https://github.com/sanic-org/sanic/pull/3164
-
Source reference
Unverified legacy reference
URL: https://github.com/sanic-org/sanic/pull/3165
-
Source reference
Unverified legacy reference
URL: https://github.com/sanic-org/sanic/releases/tag/v24.12.1
-
Source reference
Unverified legacy reference
URL: https://github.com/sanic-org/sanic/releases/tag/v25.12.1
-
Source reference
Unverified legacy reference
URL: https://github.com/sanic-org/sanic/security/advisories/GHSA-m64h-22vf-48wm
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.