CVE-2026-42545: CWE-248: Uncaught Exception in emmett-framework granian
CVE-2026-42545 is a medium severity vulnerability in the Granian Rust HTTP server used for Python applications. Versions from 0. 2. 0 up to but not including 2. 7. 4 abort a worker process if a WSGI application returns an invalid HTTP response header name or value. This occurs because the code uses . unwrap() on header name and value constructors, causing a process abort instead of handling the error gracefully. The vulnerability results in denial of service by crashing worker processes. It is fixed starting in version 2.
AI Analysis
Technical Summary
Granian versions >= 0.2.0 and < 2.7.4 have a vulnerability where malformed HTTP response headers from WSGI applications cause the server to abort worker processes. The root cause is the use of .unwrap() on header name and value constructors during WSGI response conversion, which does not handle invalid header data safely. This leads to uncaught exceptions and process termination, resulting in denial of service. The issue is addressed in Granian version 2.7.4.
Potential Impact
The vulnerability causes denial of service by aborting worker processes when invalid HTTP response headers are returned by WSGI applications. There is no impact on confidentiality or integrity, but availability is affected due to process crashes. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade Granian to version 2.7.4 or later, where this issue is fixed. Patch status is confirmed by the version range and fix version specified. No other mitigation is indicated.
CVE-2026-42545: CWE-248: Uncaught Exception in emmett-framework granian
Description
CVE-2026-42545 is a medium severity vulnerability in the Granian Rust HTTP server used for Python applications. Versions from 0. 2. 0 up to but not including 2. 7. 4 abort a worker process if a WSGI application returns an invalid HTTP response header name or value. This occurs because the code uses . unwrap() on header name and value constructors, causing a process abort instead of handling the error gracefully. The vulnerability results in denial of service by crashing worker processes. It is fixed starting in version 2.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Granian versions >= 0.2.0 and < 2.7.4 have a vulnerability where malformed HTTP response headers from WSGI applications cause the server to abort worker processes. The root cause is the use of .unwrap() on header name and value constructors during WSGI response conversion, which does not handle invalid header data safely. This leads to uncaught exceptions and process termination, resulting in denial of service. The issue is addressed in Granian version 2.7.4.
Potential Impact
The vulnerability causes denial of service by aborting worker processes when invalid HTTP response headers are returned by WSGI applications. There is no impact on confidentiality or integrity, but availability is affected due to process crashes. No known exploits are reported in the wild.
Mitigation Recommendations
Upgrade Granian to version 2.7.4 or later, where this issue is fixed. Patch status is confirmed by the version range and fix version specified. No other mitigation is indicated.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-28T16:56:50.191Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a03a7e4cbff5d86101ff970
Added to database: 5/12/2026, 10:21:24 PM
Last enriched: 5/12/2026, 10:37:02 PM
Last updated: 5/12/2026, 11:27:14 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.