CVE-2026-42545emmett-framework granian
Medium 5.9 No auth needed
Follow: this CVE · emmett-framework · emmett-framework granian We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 5.9
- EPSS
- —
- Auth required
- No
- Published
- May 12, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
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 |
≥ 0.2.0 < 2.7.4 |
2.7.4 |
pip install "granian>=2.7.4" |
| PyPI | granian |
≥ 0.2.0 < 2.7.4 |
2.7.4 |
pip install "granian>=2.7.4" |
Per OSV / GitHub Advisories (GHSA-f5p7-9fr5-8jmj, PYSEC-2026-2502). 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.