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
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
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | VulnCheck |
| 3.1 | 4.9 Medium | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H | VulnCheck |
Weaknesses
- CWE-248 Uncaught Exception
Affected Products
| Product | Versions |
|---|---|
surrealdbsurrealdb |
|
surrealdbsurrealdb |
|
References
- GitHub Security Advisory (GHSA-jc55-246c-r88f)vendor-advisory
- VulnCheck Advisory: SurrealDB before 2.1.0 Denial of Service via Nonexistent Rolethird-party-advisory
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.