Skip to main content
VulnerabilityPublished Updated

CVE-2026-42544: emmett-framework granian · Improper Input Validation

Affects emmett-framework granianSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 7.5 High : upgrade to 2.7.4 soon.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 33% 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:L/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 30 Oct 2026.

What to do

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

Affected software

ProductAffectedFixed in
emmett-frameworkgranianAffected
  • >=1.2.0 <2.7.4
Fixed in
  • 2.7.4
crates.iogithub/emmett-framework/granianpkg:cargo/github/emmett-framework/granianOther threatsAffected
  • <2.7.4 >=1.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

This vulnerability is fixed in Granian version 2.7.4. Users should upgrade to version 2.7.4 or later to remediate this issue. Patch status is not explicitly stated beyond the fixed version, so verify with the vendor advisory for the latest remediation guidance.

Description

Granian is a Rust HTTP server for Python applications. From 1.2.0 to 2.7.4, Granian aborts a worker process when an unauthenticated client sends a WebSocket upgrade request whose Sec-WebSocket-Protocol header contains non-ASCII bytes. The crash happens in Granian's WebSocket scope construction path, before the ASGI application is invoked. This vulnerability is fixed in 2.7.4.

References

Community reviews

Loading reviews…