CVE Explorer
CVE-2026-42545
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-248","description":"CWE-248: Uncaught Exception","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ff3cc69eeedd18f22bc29d9e452c7919072e1c4b9bc03d307db060052e052515 · sha256:ab24e9fd45fdbcdf… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-755","description":"CWE-755: Improper Handling of Exceptional Conditions","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ff3cc69eeedd18f22bc29d9e452c7919072e1c4b9bc03d307db060052e052515 · sha256:ab24e9fd45fdbcdf… · /containers/cna/problemTypes/1/descriptions/0
Affected products and versions
1 source assertion{"product":"granian","vendor":"emmett-framework","versions":[{"status":"affected","version":">= 0.2.0, < 2.7.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ff3cc69eeedd18f22bc29d9e452c7919072e1c4b9bc03d307db060052e052515 · sha256:ab24e9fd45fdbcdf… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ff3cc69eeedd18f22bc29d9e452c7919072e1c4b9bc03d307db060052e052515 · sha256:ab24e9fd45fdbcdf… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-248","description":"CWE-248: Uncaught Exception","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ff3cc69eeedd18f22bc29d9e452c7919072e1c4b9bc03d307db060052e052515 · sha256:ab24e9fd45fdbcdf… · /containers/cna/problemTypes/0/descriptions/0
{"cweId":"CWE-755","description":"CWE-755: Improper Handling of Exceptional Conditions","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ff3cc69eeedd18f22bc29d9e452c7919072e1c4b9bc03d307db060052e052515 · sha256:ab24e9fd45fdbcdf… · /containers/cna/problemTypes/1/descriptions/0
Source references
2 source assertions{"name":"https://github.com/emmett-framework/granian/security/advisories/GHSA-f5p7-9fr5-8jmj","tags":["x_refsource_CONFIRM"],"url":"https://github.com/emmett-framework/granian/security/advisories/GHSA-f5p7-9fr5-8jmj"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ff3cc69eeedd18f22bc29d9e452c7919072e1c4b9bc03d307db060052e052515 · sha256:ab24e9fd45fdbcdf… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/emmett-framework/granian/security/advisories/GHSA-f5p7-9fr5-8jmj"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ff3cc69eeedd18f22bc29d9e452c7919072e1c4b9bc03d307db060052e052515 · sha256:ab24e9fd45fdbcdf… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.