Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134299: high-severity vulnerability (CVSS 8.7) in surrealdb surrealdb.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.7.
Affected products and versions
surrealdb surrealdb >= 3.0.4, < 4.0.0; surrealdb surrealdb 4.0.0 (fixed in 4.0.0)
| Product | Versions | Fixed in |
|---|---|---|
| surrealdb surrealdb | >= 3.0.4, < 4.0.0 | — |
| surrealdb surrealdb | 4.0.0 | 4.0.0 |
Action recommended by the source
Upgrade to a fixed version: 4.0.0.
Fixed in: 4.0.0
Sources and references
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-p3c2-wh5f-jwqm — CVE Program
- https://github.com/surrealdb/surrealdb/commit/b80f46b3131905175d26d5085246efcd81895cd4 — CVE Program
- https://www.vulncheck.com/advisories/surrealdb-3.0.4-before-4.0.0-memory-exhaustion-via-graphql-websocket-upgrade — CVE Program
Weaknesses (CWE): CWE-770
Relevant change history
Published
Preliminary advisory published.