Summary
CVE-2026-134299 is a memory-exhaustion denial-of-service vulnerability (CWE-770, Allocation of Resources Without Limits or Throttling) in SurrealDB 3.0.4 up to but not including 4.0.0. An unauthenticated remote attacker can hold large amounts of in-flight data on the GraphQL WebSocket endpoint and degrade server availability. The CVSS v4.0 score is 8.7 (High).
Technical details
- Root cause: The GraphQL WebSocket upgrade handler at
GET /graphqldoes not apply the operator-configured WebSocket frame, message, and buffer size limits. It falls back to permissive library defaults. - Trigger conditions: The attacker opens WebSocket connections to
/graphqlon the exposed SurrealDB server. No authentication or user interaction is required. Public reporting indicates the attacker supplies the target namespace and database in request headers. - Attack vector: Network.
- Impact: Each connection can hold up to 64 MiB of in-flight data. Concurrent connections exhaust server memory and degrade availability. There is no indicated confidentiality or integrity impact.
Affected software
- SurrealDB 3.0.4 through versions before 4.0.0
- Fixed in SurrealDB 4.0.0
Severity
- CVSS v4.0: 8.7 (High) –
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 - CVSS v3.1: 7.5 (High) –
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Mitigation and recommended actions
- Immediate: Upgrade SurrealDB to 4.0.0 or later.
- If you cannot upgrade immediately: The advisory does not list workarounds. As general hardening, restrict network access to the SurrealDB service and its
/graphqlendpoint to trusted clients, for example with a reverse proxy or firewall rules.

