CVE-2026-85078
CVE-2026-85078 · sanic chunked trailer request smuggling allows hidden second request execution
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 6.5 · Medium · EPSS 0.5% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
sanic
- Versions
- < 24.12.1: Affected
- >= 25.12.0, < 25.12.1: Affected
No fix published
sanic PyPI
- Versions
- 0.1.0
- 0.1.1
- 0.1.3
- 0.1.4
- 0.1.5
- 0.1.6
- 0.1.7
- 0.1.8
- 0.1.9
- 0.2.0
- 0.3.0
- 0.3.1
- 0.4.0
- 0.4.1
- 0.5.0
- 0.5.1
- 0.5.2
- 0.5.4
- 0.6.0
- 0.7.0
- 0.8.0
- 0.8.1
- 0.8.2
- 0.8.3
- 18.12.0
- 19.12.0
- 19.12.2
- 19.12.3
- 19.12.4
- 19.12.5
- 19.3.1
- 19.6.0
- 19.6.2
- 19.6.3
- 19.9.0
- 20.12.0
- 20.12.1
- 20.12.2
- 20.12.3
- 20.12.4
- 20.12.5
- 20.12.6
- 20.12.7
- 20.3.0
- 20.6.0
- 20.6.1
- 20.6.2
- 20.6.3
- 20.9.0
- 20.9.1
- 21.12.0
- 21.12.1
- 21.12.2
- 21.3.0
- 21.3.1
- 21.3.2
- 21.3.4
- 21.6.0
- 21.6.1
- 21.6.2
- 21.9.0
- 21.9.1
- 21.9.2
- 21.9.3
- 22.12.0
- 22.3.0
- 22.3.1
- 22.3.2
- 22.6.0
- 22.6.1
- 22.6.2
- 22.9.0
- 22.9.1
- 23.12.0
- 23.12.1
- 23.12.2
- 23.3.0
- 23.6.0
- 24.12.0
- 24.6.0
- Affected ranges
- ECOSYSTEM: < 24.12.1
Update to 24.12.1
sanic PyPI
- Versions
- 25.12.0
- Affected ranges
- ECOSYSTEM: ≥ 25.12.0, < 25.12.1
Update to 25.12.1
sanic PyPI
- Versions
- 0.1.0
- 0.1.1
- 0.1.3
- 0.1.4
- 0.1.5
- 0.1.6
- 0.1.7
- 0.1.8
- 0.1.9
- 0.2.0
- 0.3.0
- 0.3.1
- 0.4.0
- 0.4.1
- 0.5.0
- 0.5.1
- 0.5.2
- 0.5.4
- 0.6.0
- 0.7.0
- 0.8.0
- 0.8.1
- 0.8.2
- 0.8.3
- 18.12.0
- 19.12.0
- 19.12.2
- 19.12.3
- 19.12.4
- 19.12.5
- 19.3.1
- 19.6.0
- 19.6.2
- 19.6.3
- 19.9.0
- 20.12.0
- 20.12.1
- 20.12.2
- 20.12.3
- 20.12.4
- 20.12.5
- 20.12.6
- 20.12.7
- 20.3.0
- 20.6.0
- 20.6.1
- 20.6.2
- 20.6.3
- 20.9.0
- 20.9.1
- 21.12.0
- 21.12.1
- 21.12.2
- 21.3.0
- 21.3.1
- 21.3.2
- 21.3.4
- 21.6.0
- 21.6.1
- 21.6.2
- 21.9.0
- 21.9.1
- 21.9.2
- 21.9.3
- 22.12.0
- 22.3.0
- 22.3.1
- 22.3.2
- 22.6.0
- 22.6.1
- 22.6.2
- 22.9.0
- 22.9.1
- 23.12.0
- 23.12.1
- 23.12.2
- 23.3.0
- 23.6.0
- 24.12.0
- 24.6.0
- 25.12.0
- Affected ranges
- ECOSYSTEM: < 24.12.1 ∪ ≥ 25.12.0, < 25.12.1
Update to 24.12.1; Update to 25.12.1
Original sources
- https://github.com/sanic-org/sanic/security/advisories/GHSA-wmj6-g64g-j7q5
- 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
- https://github.com/sanic-org/sanic/releases/tag/v24.12.1
- https://github.com/sanic-org/sanic/releases/tag/v25.12.1
- https://nvd.nist.gov/vuln/detail/CVE-2026-85078