Input validation error in granian - CVE-2026-42544
Published: July 21, 2026
granian
Detailed vulnerability description
The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.
The vulnerability exists due to 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. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.