CVE-2024-58358 Details
Description
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.
A denial-of-service vulnerability has been identified in SurrealDB versions prior to 2.1.0. The issue arises in the role conversion process, where privileged owner users can assign nonexistent roles to users. When a user with an invalid role attempts to sign in, it triggers an uncaught panic, causing the server to crash.
Users can update to SurrealDB version 2.1.0 or later, where this vulnerability has been patched. Affected users unable to update should limit access to the 'owner' role to trusted individuals and ensure that the SurrealDB process is running to automatically restart the server after a crash.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jc55-246c-r88f | [email protected] | Vendor Advisory |
| https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-nonexistent-role | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-248 | Uncaught Exception | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| surrealdb surrealdb | < 2.1.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Aug 12, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 18, 2026 | New CVE Received | [email protected] |