PyPI
CVE-2026-142251
Sanic through 25.12.1 HTTP Request Smuggling via Whitespace in Header Names
- Severity
- Medium 6.3
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Weakness
- HTTP request smuggling (CWE-444)
- Attack
- Over the network · Only under certain conditions · No login needed · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
Sanic through 25.12.1 contains an HTTP request smuggling vulnerability in sanic/http/http1.py that fails to reject whitespace before the colon in Content-Length or Transfer-Encoding headers. Remote unauthenticated attackers can send padded framing headers through a front-end proxy to desynchronise parsing and smuggle requests past front-end controls or into other clients' connections.
Affected software
| Software | Affected versions |
|---|---|
sanicPyPI · osv:PyPI:sanic |
|
About sanic
- Weekly downloads (PyPI)
- 269,290PyPI Stats, 2 Dec 2026
This is the only vulnerability in sanic in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142251