CVE-2026-42544emmett-framework granian
High 7.5 No auth needed
Follow: this CVE · emmett-framework · emmett-framework granian We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- May 12, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for granian.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | granian |
≥ 1.2.0 < 2.7.4 |
2.7.4 |
pip install "granian>=2.7.4" |
| PyPI | granian |
≥ 1.2.0 < 2.7.4 |
2.7.4 |
pip install "granian>=2.7.4" |
Per OSV / GitHub Advisories (GHSA-vrg7-482j-p6f6, PYSEC-2026-2503). Check the version in your lockfile before upgrading.
Affected products
- emmett-framework · granian
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.