CVE-2026-42545 Details
Description
Granian is a Rust HTTP server for Python applications. From 0.2.0 to 2.7.4, Granian aborts a worker process if a WSGI application returns an invalid HTTP response header name or value. The WSGI response conversion path uses .unwrap() on both the header name and header value constructors, so malformed output from the application becomes a process abort instead of a handled error. This vulnerability is fixed in 2.7.4.
A denial-of-service vulnerability has been identified in Granian, a Rust HTTP server for Python applications, affecting versions 0.2.0 through 2.7.4. The issue arises when a WSGI application returns an invalid HTTP response header name or value. Granian's WSGI response handling improperly uses 'unwrap()' on header name and value constructors, leading to a process abort instead of a managed error. This vulnerability requires a WSGI application that either generates invalid headers or is manipulated to do so, causing the Granian worker process to crash.
Users can upgrade to Granian version 2.7.4, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 12, 2026CISA-ADP
Assessed May 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/emmett-framework/granian/security/advisories/GHSA-f5p7-9fr5-8jmj | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/emmett-framework/granian/security/advisories/GHSA-f5p7-9fr5-8jmj | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-248 | Uncaught Exception | [email protected] |
| CWE-755 | Improper Handling of Exceptional Conditions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Granian | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 14, 2026 | CVE Modified | CISA-ADP |
| May 12, 2026 | New CVE Received | [email protected] |
Volerion