CVE-2024-58358Published Jul 18, 2026 · Jul 18Updated Oct 29
SurrealDB before 2.1.0 Denial of Service via Nonexistent Role
surrealdb
Medium6.9Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| surrealdb crates.io |
|
|
| surrealdb-core crates.io |
|
|
Original 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.