Skip to main content
VulnerabilityPublished Updated

CVE-2026-42545: emmett-framework granian · Uncaught Exception

Affects emmett-framework granianSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.9 Medium : upgrade to 2.7.4 when convenient.

Data as of 29 Oct 2026, 19:04 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.2% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.

What to do

Upgrade granian and github/emmett-framework/granian to 2.7.4.

Affected software

ProductAffectedFixed in
emmett-frameworkgranianAffected
  • >=0.2.0 <2.7.4
Fixed in
  • 2.7.4
crates.iogithub/emmett-framework/granianpkg:cargo/github/emmett-framework/granianOther threatsAffected
  • <2.7.4 >=0.2.0
Fixed in
  • 2.7.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade Granian to version 2.7.4 or later, where this issue is fixed. No other official remediation or temporary workaround is documented. Patch status is not explicitly stated but the fix is included in version 2.7.4.

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.

References

Community reviews

Loading reviews…