CVE-2026-142251 Sanic through 25.12.1 HTTP Request Smuggling via Whitespace in Header Names
MediumCVSS 6.3
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi sanic | <= 25.12.1 | after 25.12.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi sanic | <= 25.12.1 | No fix listed |
References
- github.com technical-description
- VulnCheck Advisory: Sanic through 25.12.1 HTTP Request Smuggling via Whitespace in Header Names third-party-advisory
- ENISA EUVD EUVD-2026-141579 third-party-advisory