Skip to main content

Duplicate Advisory: SurrealDB has Denial of Service in JSON parser due to nested objects

0
High
Published: 07/20/2026 (07/20/2026, 12:33:11 UTC)
Source: GCVE Database
Product: surrealdb

Description

SurrealDB versions before 3.1.0 contain a denial of service vulnerability in their JSON parser due to failure to enforce recursion depth limits when processing nested braces, brackets, or parentheses. An unauthenticated attacker can exploit this by sending deeply nested JSON payloads to the WebSocket /rpc endpoint, causing server memory exhaustion and process crashes.

CVSS v3.1

Score 7.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

crates.ioghsa
surrealdb

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 10:07:36 UTC

Technical Analysis

SurrealDB prior to version 3.1.0 does not properly enforce the configured recursion depth limit in its value and JSON parser when handling nested JSON structures such as braces, brackets, or parentheses. This flaw allows unauthenticated attackers to send deeply nested JSON payloads to the WebSocket /rpc endpoint, which can exhaust server memory resources and crash the SurrealDB process, resulting in a denial of service condition. The vulnerability is tracked under CWE-674 (Improper Control of a Resource Through a Logic Time Bomb) and has a CVSS v3.1 base score of 7.5, indicating high severity. There is no indication of known exploits in the wild. No patch or remediation details are provided in the available data.

Potential Impact

Successful exploitation leads to denial of service by exhausting server memory and crashing the SurrealDB process. This disrupts availability but does not impact confidentiality or integrity according to the CVSS vector.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, consider limiting exposure of the WebSocket /rpc endpoint to untrusted sources or implementing external rate limiting or payload size restrictions to mitigate potential abuse.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-m464-hj36-96vx
Osv Schema Version
1.4.0
Ecosystems
["crates.io"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a9c2644acd9273b49fc9c2a

Added to database: 09/05/2026, 14:25:08 UTC

Last enriched: 09/07/2026, 10:07:36 UTC

Last updated: 10/01/2026, 23:09:38 UTC

Views: 23

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses