CVE-2024-58358

published 18 Jul 2026 · updated 28 Jul 2026

SurrealDB before 2.1.0 Denial of Service via Nonexistent Role

4.9MediumCVSS 4.9EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.1.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
surrealdb<2.1.02.1.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58358 severity on Zeptric[![CVE-2024-58358](https://zeptric.io/badge/cve/CVE-2024-58358.svg)](https://zeptric.io/cve/CVE-2024-58358)