Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-42545
Published:May 12, 2026
Updated:May 16, 2026
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.
Affected Packages
granian (CONDA):
Affected version(s) >=1.0.2 <2.7.4
Fix Suggestion:
Update to version 2.7.4
https://github.com/emmett-framework/granian.git (GITHUB):
Affected version(s) >=v0.2.0 <v2.7.4
Fix Suggestion:
Update to version v2.7.4
granian (PYTHON):
Affected version(s) >=0.2.0 <2.7.4
Fix Suggestion:
Update to version 2.7.4
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.9
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncaught Exception
Improper Handling of Exceptional Conditions
EPSS
Base Score:
0.04