{"id":"CVE-2026-42544","published":"2026-05-12T21:46:19Z","modified":"2026-05-18T15:09:40Z","title":"Granian: Unauthenticated DoS via WebSocket subprotocol header panic","vendor":"emmett-framework","product":"granian","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0039,"percentile":0.33965,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-248","name":"Uncaught Exception"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/emmett-framework/granian/security/advisories/GHSA-vrg7-482j-p6f6","tags":["x_refsource_CONFIRM"]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":6.79},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"emmett-framework","affectedVersions":[{"vendor":"emmett-framework","product":"granian","versions":[">= 1.2.0, < 2.7.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-18T15:09:10.114108Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"granian","vulnerableRanges":[">=1.2.0, <2.7.4"],"patched":["2.7.4"],"from":["GHSA-vrg7-482j-p6f6","PYSEC-2026-2503"],"provenance":"source"}],"summary":{"text":"Granian, the Rust HTTP server for Python applications, has a flaw in its WebSocket scope construction path where a worker process aborts when handling a crafted Sec-WebSocket-Protocol header containing non-ASCII bytes, affecting versions 1.2.0 through 2.7.4. An unauthenticated remote attacker can exploit this over the network with a single WebSocket upgrade request, requiring no user interaction and no special configuration, to repeatedly crash worker processes and cause denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:59:57Z"},"euvd":{"id":"EUVD-2026-29855","exploited":false,"provenance":"source"}}