SurrealDB 3.0.4 before 4.0.0 does not apply operator-configured WebSocket frame, message, and buffer size limits to
Source GCVE Database
Not known to be exploited · CVSS 8.7 High : upgrade to 4.0.0 soon.
Data as of 21 Nov 2026, 19:44 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.7 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.5 |
- Patch
- Available – fixed in 4.0.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 21 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade surrealdb to 4.0.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| surrealdbsurrealdb | Affected
| Fixed in
|
crates.iosurrealdbpkg:cargo/surrealdbOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, consider limiting exposure of the GraphQL WebSocket endpoint or applying external rate limiting and resource constraints to mitigate potential memory exhaustion.
Description
SurrealDB versions 3.0.4 up to but not including 4.0.0 have a vulnerability in the GraphQL WebSocket upgrade handler at GET /graphql. The operator-configured limits for WebSocket frame, message, and buffer sizes are not enforced, causing the system to fall back to permissive library defaults. This allows unauthenticated remote attackers to send large amounts of data (up to 64 MiB per connection) by specifying the target namespace and database in request headers, potentially exhausting server memory and degrading availability.
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-p3c2-wh5f-jwqm (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-134299 (opens in a new tab)
- github.com/surrealdb/surrealdb/commit/b80f46b3131905175d26d5085246efcd81895cd4 (opens in a new tab)
- vulncheck.com/advisories/surrealdb-3.0.4-before-4.0.0-memory-exhaustion-via-graphql-websocket-upgrade (opens in a new tab)