{"id":"CVE-2026-42544","summary":"Granian: Unauthenticated DoS via WebSocket subprotocol header panic","details":"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.","aliases":["GHSA-vrg7-482j-p6f6"],"modified":"2026-07-08T08:13:24.941655101Z","published":"2026-05-12T21:46:19.734Z","related":["CGA-r4m7-8gc2-ch3p"],"database_specific":{"cwe_ids":["CWE-20","CWE-248","CWE-400"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42544.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42544.json"},{"type":"ADVISORY","url":"https://github.com/emmett-framework/granian/security/advisories/GHSA-vrg7-482j-p6f6"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42544"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/emmett-framework/granian","events":[{"introduced":"996637c3f0cc1faaff427adfd92f565343b39f73"},{"fixed":"84af73d40b6416a8e89504055ab9db413a4b1e24"}],"database_specific":{"extracted_events":[{"introduced":"1.2.0"},{"fixed":"2.7.4"}],"source":"AFFECTED_FIELD"}}],"versions":["v2.7.3","v2.7.2","v2.7.1","v2.7.0","v2.6.1","v2.6.0","v2.5.3","v2.5.2","v2.5.1","v2.5.0","v2.4.2","v2.4.1","v2.4.0","v2.3.4","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.6","v2.2.5","v2.2.4","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.2","v2.1.1","v2.1.0","v2.0.1","v2.0.0","v1.7.6","v1.7.5","v1.7.4","v1.7.3","v1.7.2","v1.7.1","v1.7.0","v1.6.4","v1.6.3","v1.6.2","v1.6.1","v1.6.0","v1.5.2","v1.5.1","v1.5.0","v1.4.4","v1.4.3","v1.4.2","v1.4.1","v1.4.0","v1.3.2","v1.3.1","v1.3.0","v1.2.3","v1.2.2","v1.2.1","v1.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42544.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}