CVE-2026-42544
HIGH 7.5CVSS 3.1Granian vulnerable to unauthenticated DoS via WebSocket subprotocol header panic
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.
- Published
- 12 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-20CWE-248CWE-400
- Also known as
- GHSA-vrg7-482j-p6f6PYSEC-2026-2503
- Sources
- NVDJSONOSV GHSA-vrg7-482j-p6f6JSONOSV PYSEC-2026-2503JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | granian | >= 1.2.0, < 2.7.4 | 2.7.4 |
References
- https://github.com/emmett-framework/granian/security/advisories/GHSA-vrg7-482j-p6f6 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-42544 · ADVISORY
- https://github.com/emmett-framework/granian · PACKAGE
- https://pypi.org/project/granian · PACKAGE
- https://github.com/advisories/GHSA-vrg7-482j-p6f6 · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 12 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 6 May 2026)