Skip to content

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.

PackageAffectedFixed inStatus
pypi sanic <= 25.12.1 after 25.12.1 Fixed

Affected products

ProductAffected versionsFixed in
pypi sanic <= 25.12.1 No fix listed

References