CVE-2026-85078
sanic chunked trailer request smuggling allows hidden second request execution
Also known as GHSA-wmj6-g64g-j7q5, PYSEC-2026-4162
Mitigation
- Upgrade sanic to one of 24.12.1, 25.12.1 (or later in the same release line).
Who should check
- Projects that depend on PyPI package sanic (< 24.12.1)
- Anyone running sanic-org sanic < 24.12.1; >= 25.12.0, < 25.12.1
Vulnerability facts
- Affected
- sanic < 24.12.1
- Fixed in
- 24.12.1, 25.12.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: Low
- Availability impact: Low
- EPSS
- 0.51% chance of exploitation in 30 days (percentile 37, 2026-11-26)
- CWE
- CWE-444
- Modified
Description
Sanic is an opensource python web server/framework. In version 25.12.0, Sanic's core HTTP/1.1 chunked-body handling does not fully consume the trailer-part after the terminating zero chunk before reusing the keep-alive connection buffer. A remote unauthenticated client can place attacker-controlled bytes in that trailer region, causing Sanic to parse and route them as a hidden second request after the outer request. This breaks HTTP request-boundary integrity and can provide a request-smuggling primitive when Sanic is deployed behind intermediaries. This issue is fixed in version 25.12.1.
Affected and fixed versions
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-85078. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-85078.md Affected: sanic < 24.12.1 Fixed in: 24.12.1, 25.12.1 Steps: 1. Search this machine and project for sanic (PyPI), sanic-org sanic: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- https://github.com/sanic-org/sanic/pull/3164
- https://github.com/sanic-org/sanic/pull/3165
- https://github.com/sanic-org/sanic/commit/47349d689d65fa1907977ac100e867894aeafb22
- https://github.com/sanic-org/sanic/commit/69a10d3b06babaa9e5f6d1af577364e9e53b6dea
- https://github.com/sanic-org/sanic/commit/a332796506c7c588b6930b02a8886e43eb8ea8d6
FAQ
Is CVE-2026-85078 being exploited?
There is no confirmed exploitation: CVE-2026-85078 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.51% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-85078?
Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-85078?
sanic < 24.12.1.
Is there a fix for CVE-2026-85078?
Yes. Fixed in 24.12.1, 25.12.1. Upgrade sanic to one of 24.12.1, 25.12.1 (or later in the same release line).
How do I check if I'm affected by CVE-2026-85078?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.