Skip to main content
EPSS 0.5%top 57%

SurrealDB has Denial of Service in JSON parser due to nested objects (CVE-2026-63760)

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

Description

SurrealDB versions prior to 3.1.0 contain a denial of service vulnerability in their JSON and value parser due to missing enforcement of recursion depth limits on nested JSON tokens. An unauthenticated attacker can exploit this by sending a deeply nested JSON payload to the WebSocket /rpc endpoint, causing server memory exhaustion and process crash. Versions 3.1.0 and later include a patch that enforces the recursion depth limit, mitigating this issue.

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
Affected versions
<3.1.0

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:22:08 UTC

Technical Analysis

The SurrealDB value and JSON parser did not enforce the configured recursion depth limit when parsing nested '{', '[', or '(' tokens, unlike the expression parser which did enforce this limit. This omission allows an unauthenticated remote attacker to send a deeply nested JSON payload to the WebSocket /rpc endpoint, exhausting server memory and crashing the SurrealDB process. This vulnerability is a partial regression of a previous fix (GHSA-6r8p-hpg7-825g) that addressed the same issue in the expression parser but not the value/JSON parser. The patch enforces the recursion depth limit in parse_value and parse_json functions, aligning them with the rest of the parser code. Versions 3.1.0 and later are not affected.

Potential Impact

An unauthenticated remote attacker can cause a denial of service by crashing the SurrealDB server with a single specially crafted WebSocket message containing deeply nested JSON. This does not require any credentials or query execution privileges, making the attack surface broad and easy to exploit for service disruption.

Mitigation Recommendations

A patch is available that enforces the recursion depth limit in the JSON and value parsers. Upgrading to SurrealDB version 3.1.0 or later fully mitigates this vulnerability. As a workaround, restrict network access to the WebSocket /rpc endpoint to trusted clients to reduce exposure until the patch can be applied.

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-q729-696q-g9pq
Osv Schema Version
1.4.0
Aliases
["CVE-2026-63760"]
Ecosystems
["crates.io"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a9c2644acd9273b49fc9c28

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

Last enriched: 09/07/2026, 10:22:08 UTC

Last updated: 10/19/2026, 18:48:22 UTC

Views: 24

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