{"id":"CVE-2026-134299","summary":"SurrealDB 3.0.4 before 4.0.0 Memory Exhaustion via GraphQL WebSocket Upgrade","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.","aliases":["GHSA-p3c2-wh5f-jwqm"],"modified":"2026-11-21T18:00:17.883947429Z","published":"2026-11-21T16:35:08.132Z","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"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/surrealdb/surrealdb","events":[{"introduced":"e102291a4999e7654cad163f634245f62f6990e3"},{"fixed":"284fe93afc851c3baec2c262c01289602021a70d"},{"fixed":"b80f46b3131905175d26d5085246efcd81895cd4"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"3.0.4"},{"fixed":"4.0.0"}]},{"range":[{"fixed":"b80f46b3131905175d26d5085246efcd81895cd4"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-134299.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}