Impact
SurrealDB before version 3.1.0 does not enforce its configured recursion depth limit while parsing nested JSON structures. The flaw allows unauthenticated attackers to send deeply nested payloads to the WebSocket /rpc endpoint, causing the server to exhaust memory and crash. This results in a denial of service and correlates with CWE‑674, uncontrolled recursion.
Affected Systems
All SurrealDB installations running any release older than 3.1.0, especially those exposing the /rpc WebSocket interface to external clients.
Risk and Exploitability
The CVSS score of 8.7 indicates high severity, while the EPSS score of less than 1% suggests a low current likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Attackers only require unauthenticated network access to the RPC interface, so the threat is accessible to anyone that can reach the endpoint.
OpenCVE Enrichment