# CVE-2026-42544: Granian: Unauthenticated DoS via WebSocket subprotocol header panic

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-06T21:20:48.000Z
- Modified: 2026-10-26T14:10:00.130Z
- Also known as: GHSA-vrg7-482j-p6f6, PYSEC-2026-2503
- Weaknesses: CWE-20, CWE-248, CWE-400
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- emmett-framework granian: >= 1.2.0, < 2.7.4
- granian (PyPI): from 1.2.0 before 2.7.4

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- PyPA Advisory Database: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/emmett-framework/granian/security/advisories/GHSA-vrg7-482j-p6f6> (exploit, 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)

## Sources

- CVE List: [CVE-2026-42544](https://www.cve.org/CVERecord?id=CVE-2026-42544), CVE Terms of Use, modified 2026-05-18
- GitHub Advisory Database: [GHSA-vrg7-482j-p6f6](https://github.com/advisories/GHSA-vrg7-482j-p6f6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42544](https://nvd.nist.gov/vuln/detail/CVE-2026-42544), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2503](https://osv.dev/vulnerability/PYSEC-2026-2503), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-42544 · Whole record: https://cve.day/CVE-2026-42544.json · Rebuilt by cve.day 2026-11-25T22:59:21.504Z
