Home

Description

Granian is a Rust HTTP server for Python applications. From 1.2.0 to 2.7.4, Granian aborts a worker process when an unauthenticated client sends a WebSocket upgrade request whose Sec-WebSocket-Protocol header contains non-ASCII bytes. The crash happens in Granian's WebSocket scope construction path, before the ASGI application is invoked. This vulnerability is fixed in 2.7.4.

PUBLISHED Reserved 2026-04-28 | Published 2026-05-12 | Updated 2026-05-18 | Assigner GitHub_M




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Problem types

CWE-20: Improper Input Validation

CWE-248: Uncaught Exception

CWE-400: Uncontrolled Resource Consumption

Product status

>= 1.2.0, < 2.7.4
affected

References

github.com/...ranian/security/advisories/GHSA-vrg7-482j-p6f6 exploit

github.com/...ranian/security/advisories/GHSA-vrg7-482j-p6f6

cve.org (CVE-2026-42544)

nvd.nist.gov (CVE-2026-42544)

Download JSON