AploSec / Disclosures / CVE-2026-142251
Sanic through 25.12.1 HTTP Request Smuggling via Whitespace in Header Names
CVE-2026-142251 · published 2026-12-02
In plain words: this type of bug lets two parts of a system read the same input differently, so a check can be slipped past (parsing mismatch). No fixed release is listed yet.
Summary
CVE-2026-142251 affects sanic (PyPI) <= 25.12.1: HTTP Request Smuggling via Whitespace in Header Names (CWE-444). No fixed release is listed. CVSS 4.0 base score 6.3 (Medium), assigned by VulnCheck. Published 2026-12-02 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
No fixed release is listed in the advisory. Check the references for upstream status.
References
- Severity
- Medium 6.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- sanic
- Ecosystem
- PyPI
- Affected
- <= 25.12.1
- Fixed
- None
- Weakness
- CWE-444
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder