Duplicate Advisory: SurrealDB has Denial of Service in JSON parser due to nested objects
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
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
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.
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 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.
External Links
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.