CVE-2024-58370: SurrealDB before 1.1.0 Uncontrolled Recursion Denial of Service

Published Jul 18, 2026
·
Updated

SurrealDB versions before 1.1.0 fail to enforce recursion depth limits when parsing nested SurrealQL statements including IF, RELATE, and attribute access idioms. Authorized attackers can submit queries with excessive nesting depth to cause stack overflow and crash the server.

Affected Software

2 affected components
SurrealDB<1.1.0
SurrealDB SurrealDB<1.1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SurrealDB to a version that resolves this vulnerability.

    Fixed in 1.1.0
  2. Compensating control

    Apply a temporary mitigation by restricting access so that only trusted/authorized clients can submit SurrealQL queries that could trigger excessive nesting depth.

Event History

Jul 18, 2026
CVE Published
via MITRE·01:10 PM
Data Sourced
via MITRE·01:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-58370?

CVE-2024-58370 has a medium severity rating of 6.5.

2

How do I fix CVE-2024-58370?

To fix CVE-2024-58370, upgrade SurrealDB to version 1.1.0 or later.

3

What is CVE-2024-58370?

CVE-2024-58370 is a vulnerability in SurrealDB that allows for uncontrolled recursion leading to a denial of service.

4

What can an attacker do with CVE-2024-58370?

An authorized attacker can exploit CVE-2024-58370 by submitting overly nested SurrealQL statements, causing a server crash.

5

Which versions of SurrealDB are affected by CVE-2024-58370?

SurrealDB versions before 1.1.0 are affected by CVE-2024-58370.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203