Request Smuggling Vulnerability in Sanic Web Framework
CVE-2026-85078
What is CVE-2026-85078?
Sanic, an open-source Python web server/framework, contains a vulnerability that impacts its handling of HTTP/1.1 chunked bodies in version 25.12.0. This flaw allows a remote unauthenticated attacker to exploit the chunked-body handling inefficiencies, leading to potential request smuggling attacks. If an attacker sends specially crafted bytes in the trailer part of a chunked request, they may inadvertently manipulate the existing request context, causing the server to parse and route an invisible second request in addition to the original. This breaks the integrity of HTTP request boundaries, especially when Sanic operates behind intermediaries. Users are strongly advised to upgrade to version 25.12.1, which addresses this issue and enhances overall security.
Affected Version(s)
sanic < 24.12.1 < 24.12.1
sanic >= 25.12.0, < 25.12.1 < 25.12.0, 25.12.1
