Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-85077— Sanic: HTTP response header injection via missing CR/LF validation in Sanic HTTP/1.1 responses

Quick assessment

Affected
sanic-org sanic
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Sanic 是一个开源的 Python Web 服务器/框架。在 24.12.1 之前的版本以及 25.12.0 版本中, 中的 HTTP/1.1 响应管道在序列化响应头名称和值时,未拒绝回车符(\r)或换行符(\n)。因此,如果应用程序将攻击者可控的数据放入 、 或 cookie 的 path 和 domain 属性中,可能会输出被注入的 HTTP 头,并可能导致响应拆分(HTTP Response Splitting)。根据应用程序和代理的行为,这种缺陷可能引发通过注入的 Cookie 进行会话固定(Sessi

CVSS 8.2 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-85077

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Sanic: HTTP response header injection via missing CR/LF validation in Sanic HTTP/1.1 responses
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
HTTP头部中CRLF序列转义处理不恰当(HTTP响应分割)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
sanic-org sanic < 24.12.1 -

II. Public POCs for CVE-2026-85077

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-85077

登录查看更多情报信息。

Patches & Fixes for CVE-2026-85077 (4)

Vendor Advisories for CVE-2026-85077 (1)

Vendor Pages for CVE-2026-85077 (2)

IV. Related Vulnerabilities

V. Comments for CVE-2026-85077

No comments yet


Leave a comment