CVE-2026-142251: Sanic through 25.12.1 HTTP Request Smuggling via Whitespace in Header Names

Published Dec 2, 2026
·
Updated

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

1 affected component
pypi/sanic<=25.12.1

Event History

Dec 2, 2026
CVE Published
via MITRE·04:49 PM
Data Sourced
via MITRE·04:49 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Event
via NVD·05:17 PM

Frequently Asked Questions

1

Which deployments are most exposed?

Sanic deployments through 25.12.1 that sit behind a front-end proxy are exposed when the proxy permits padded Content-Length or Transfer-Encoding headers to reach Sanic. This can allow parsing differences between the proxy and backend to desynchronise requests.

2

What access does an attacker need?

An attacker can exploit this remotely without authentication or user interaction. Exploitation requires sending specially padded HTTP framing headers through a front-end proxy.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203