CVE-2024-58358

MEDIUM CVSS 4.0: 6.9 EPSS 0.47%
Updated Oct 27, 2026
Surrealdb
Parameter Value
CVSS 6.9 (MEDIUM)
Affected Versions before 2.1.0
Fixed In 2.1.0
Type CWE-248 (Uncaught Exception)
Vendor Surrealdb
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
High
Admin privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Surrealdb Surrealdb
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
— 2.1.0