CVE-2026-44546: Header injection via WebSocket upgrade parser differential allows ASGI scope header spoofing

Published Jun 3, 2026
·
Updated

daphne before 4.2.2 reconstructs a raw HTTP request from Twisted's parsed headers and feeds it to autobahn for WebSocket handshake processing. Twisted does not treat \x0b, \x0c, \x1c, \x1d, \x1e, or \x85 as header line separators, but autobahn decodes header values to str and calls splitlines(). An attacker can exploit this parser differential to inject additional headers into the ASGI scope passed to the application. daphne now rejects requests with these bytes in any header value with a 400 response.

Affected Software

2 affected components
pypi/daphne<4.2.2
djangoproject Daphne<4.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade daphne to a version that resolves this vulnerability.

    Fixed in 4.2.2
  2. Configuration

    Ensure daphne is updated so it rejects WebSocket upgrade requests with header values containing \x0b, \x0c, \x1c, \x1d, \x1e, or \x85, responding with HTTP 400.

    daphne reject requests containing bytes in any header value = enabled

Event History

Jun 3, 2026
CVE Published
via MITRE·01:17 PM
Data Sourced
via MITRE·01:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-44546?

The severity of CVE-2026-44546 is classified as low, with a score of 3.7.

2

How do I fix CVE-2026-44546?

To fix CVE-2026-44546, update daphne to version 4.2.2 or later.

3

What is the impact of CVE-2026-44546?

CVE-2026-44546 allows for header injection via the WebSocket upgrade parser, leading to ASGI scope header spoofing.

4

Which software is affected by CVE-2026-44546?

The vulnerability affects daphne versions prior to 4.2.2.

5

When was CVE-2026-44546 published?

CVE-2026-44546 was published on June 3, 2026.

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