{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "1.2.0"
              },
              {
                "fixed": "2.7.4"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "996637c3f0cc1faaff427adfd92f565343b39f73"
            },
            {
              "fixed": "84af73d40b6416a8e89504055ab9db413a4b1e24"
            }
          ],
          "repo": "https://github.com/emmett-framework/granian",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-vrg7-482j-p6f6"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-20",
      "CWE-248",
      "CWE-400"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42544.json"
  },
  "details": "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.",
  "id": "CVE-2026-42544",
  "modified": "2026-07-08T05:36:32.797725747Z",
  "published": "2026-05-12T21:46:19.734Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42544.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/emmett-framework/granian/security/advisories/GHSA-vrg7-482j-p6f6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42544"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Granian: Unauthenticated DoS via WebSocket subprotocol header panic"
}