HTTP Server Vulnerability in Granian by Emmett Framework
CVE-2026-42545
5.9MEDIUM
What is CVE-2026-42545?
The Granian HTTP server, utilized in Python applications, is susceptible to a process abort if a WSGI application generates invalid HTTP response header names or values. This issue arises from the server's use of the .unwrap() function in its response conversion path, which does not gracefully handle malformed output, leading to abrupt termination of worker processes instead of proper error management. A fix is available in version 2.7.4, addressing this critical concern for developers and users relying on this server.
Affected Version(s)
granian >= 0.2.0, < 2.7.4
