{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "3.0.4"
                  },
                  {
                    "fixed": "4.0.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "b80f46b3131905175d26d5085246efcd81895cd4"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "e102291a4999e7654cad163f634245f62f6990e3"
            },
            {
              "fixed": "284fe93afc851c3baec2c262c01289602021a70d"
            },
            {
              "fixed": "b80f46b3131905175d26d5085246efcd81895cd4"
            }
          ],
          "repo": "https://github.com/surrealdb/surrealdb",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-p3c2-wh5f-jwqm"
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134299.json"
  },
  "details": "SurrealDB 3.0.4 before 4.0.0 does not apply operator-configured WebSocket frame, message, and buffer size limits to the GraphQL WebSocket upgrade handler at GET /graphql, falling back to permissive library defaults. Unauthenticated remote attackers who supply the target namespace and database in request headers can hold up to 64 MiB of in-flight data per concurrent connection, exhausting server memory and degrading availability.",
  "id": "CVE-2026-134299",
  "modified": "2026-11-21T17:45:51.552374647Z",
  "published": "2026-11-21T16:35:08.132Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134299.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/surrealdb/surrealdb/commit/b80f46b3131905175d26d5085246efcd81895cd4"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/surrealdb/surrealdb/security/advisories/GHSA-p3c2-wh5f-jwqm"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134299"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/surrealdb-3.0.4-before-4.0.0-memory-exhaustion-via-graphql-websocket-upgrade"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "SurrealDB 3.0.4 before 4.0.0 Memory Exhaustion via GraphQL WebSocket Upgrade"
}