CVE-2024-58358: SurrealDB before 2.1.0 Denial of Service via Nonexistent Role

Published Jul 18, 2026
·
Updated

SurrealDB versions before 2.1.0 contain a denial of service vulnerability in role conversion that allows privileged owner users to define users with nonexistent roles. Attackers can trigger an uncaught panic by signing in with a user assigned an invalid role, crashing the server.

Affected Software

2 affected components
SurrealDB<2.1.0
SurrealDB SurrealDB<2.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 2.1.0

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-58358?

CVE-2024-58358 has a severity rating of medium, specifically a score of 6.9.

2

How do I fix CVE-2024-58358?

To mitigate CVE-2024-58358, upgrade SurrealDB to version 2.1.0 or later.

3

What type of vulnerability is CVE-2024-58358?

CVE-2024-58358 is a denial of service vulnerability.

4

Who is primarily affected by CVE-2024-58358?

Privileged owner users in SurrealDB versions before 2.1.0 are primarily affected by CVE-2024-58358.

5

What happens if CVE-2024-58358 is exploited?

Exploitation of CVE-2024-58358 can lead to an uncaught panic, causing the SurrealDB server to crash.

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