Skip to main content
VulnerabilityPublished Updated

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

Affects surrealdbSource GCVE Database

0

CVSS 7.5 High.

Data as of 7 Sep 2026, 10:07 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What to do

Affected software

ProductAffectedFixed in
crates.iosurrealdbAffected–Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

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.

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.

References

Community reviews

Loading reviews…