Memory Exhaustion Vulnerability in SurrealDB GraphQL WebSocket Handler
CVE-2026-134299
8.7HIGH
What is CVE-2026-134299?
SurrealDB versions prior to 4.0.0 exhibit a vulnerability related to the GraphQL WebSocket upgrade handler. Specifically, the operator-configured limits for WebSocket frame sizes, messages, and buffer sizes are not enforced, reverting to default permissive settings. This oversight allows unauthenticated remote attackers to exploit the vulnerability by specifying the target namespace and database in the request headers, enabling them to push up to 64 MiB of data for each concurrent connection. Such an attack can lead to significant exhaustion of server memory and compromise service availability.
Affected Version(s)
surrealdb 3.0.4 < 4.0.0
surrealdb 4.0.0
