CVE-2026-42545
CVE-2026-42545 · Granian: DoS via WSGI response header panic
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 5.9 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: python
Affected products and versions
granian
- Versions
- >= 0.2.0, < 2.7.4: Affected
No fix published
granian PyPI
- Versions
- 0.2.6
- 0.3.2
- 0.4.3
- 0.5.3
- 0.6.1
- 0.7.6
- 1.0.2
- 1.1.2
- 1.2.3
- 1.3.2
- 1.4.4
- 1.5.2
- 1.6.4
- 1.7.6
- 2.0.0
- 2.0.1
- 2.1.0
- 2.1.1
- 2.1.2
- 2.2.0
- 2.2.1
- 2.2.2
- 2.2.3
- 2.2.4
- 2.2.5
- 2.2.6
- 2.3.0
- 2.3.1
- 2.3.2
- 2.3.3
- 2.3.4
- 2.4.0
- 2.4.1
- 2.4.2
- 2.5.0
- 2.5.1
- 2.5.2
- 2.5.3
- 2.5.4
- 2.5.5
- 2.5.6
- 2.5.7
- 2.6.0
- 2.6.1
- 2.7.0
- 2.7.1
- 2.7.2
- 2.7.3
- Affected ranges
- ECOSYSTEM: ≥ 0.2.0, < 2.7.4
Update to 2.7.4
granian PyPI
- Versions
- 0.2.6
- 0.3.2
- 0.4.3
- 0.5.3
- 0.6.1
- 0.7.6
- 1.0.2
- 1.1.2
- 1.2.3
- 1.3.0
- 1.3.1
- 1.3.2
- 1.4.0
- 1.4.1
- 1.4.2
- 1.4.3
- 1.4.4
- 1.5.0
- 1.5.1
- 1.5.2
- 1.6.0
- 1.6.1
- 1.6.2
- 1.6.3
- 1.6.4
- 1.7.0
- 1.7.1
- 1.7.2
- 1.7.3
- 1.7.4
- 1.7.5
- 1.7.6
- 2.0.0
- 2.0.1
- 2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