CVE-2026-134299 SurrealDB 3.0.4 before 4.0.0 Memory Exhaustion via GraphQL WebSocket Upgrade

Published Updated

Unauthenticated attackers can exhaust SurrealDB memory by opening many GraphQL WebSocket upgrade connections with large sizes.

CVSS score

High

8.7/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.0.0
Attack path
Over the internet
No login, no user action

What is CVE-2026-134299?

CVE-2026-134299 is a high-severity denial of service vulnerability in surrealdb, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-770

How severe is CVE-2026-134299?

CVE-2026-134299 scores 8.7 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
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

Which versions are affected by CVE-2026-134299?

1 open source package ship an affected version, including surrealdb.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
surrealdb crates.io
pkg:cargo/surrealdb
From 3.0.44.0.0

How do I fix CVE-2026-134299?

Upgrade surrealdb to 4.0.0 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-134299 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134299 exists.

Sources

Also known as GHSA-gq9j-c8x8-685h, GHSA-p3c2-wh5f-jwqm.

Is CVE-2026-134299 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free