CVE-2024-58358
Published:July 18, 2026
Updated:August 06, 2026
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 Packages
https://github.com/surrealdb/surrealdb.git (GITHUB):
Affected version(s) >=v2.0.0 <v2.1.0Fix Suggestion:
Update to version v2.1.0surrealdb-core (RUST):
Affected version(s) >=1.1.1 <2.1.0Fix Suggestion:
Update to version 2.1.0surrealdb (RUST):
Affected version(s) >=1.0.0-beta.1 <2.1.0Fix Suggestion:
Update to version 2.1.0Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
4.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
HIGH
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Uncaught Exception
EPSS
Base Score:
0.33