SurrealDB has Denial of Service in JSON parser due to nested objects (CVE-2026-63760)
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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.