cve.bz

CVE-2026-42544

7.5 highEPSS 0.3%

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.

CVSS 3.1
7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.3% chance of exploitation in the next 30 days; higher than 25% of CVEs (scores of 2026-10-25)
CWEs
CWE-20, CWE-248, CWE-400
Published
Modified
Record from
the NVD, synced

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vrg7-482j-p6f6PyPIgranian>=1.2.0 <2.7.42.7.4
PYSEC-2026-2503PyPIgranian>=1.2.0 <2.7.42.7.4

References

Check your stackJSON