CVE-2024-58358

Medium

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.

SeverityMedium
CVSS4.9
Exploit probability—
ProductSurrealdb
PublishedJul 18, 2026
First seenJul 18, 2026
Weakness typeCWE-248CWE-248

How to fix

Update
  • surrealdb surrealdb2.1.0 or later

Affected products

ProductAffected versionsFixed in
surrealdb surrealdbv < 2.1.02.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-58358 · Surrealdb · Dark Radar