CVE-2024-58358

SurrealDB before 2.1.0 Denial of Service via Nonexistent Role

State
Published
Severity
6.9 Medium
Published
Jul 18, 2026
Updated
Jul 28, 2026
Reserved
Jun 8, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck
3.14.9 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HVulnCheck

Weaknesses

Affected Products

ProductVersions
surrealdbsurrealdb
  • before 2.1.0Affected
  • 2.1.0Not affected
surrealdbsurrealdb
  • before 2.1.0Affected
  • 2.1.0Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.