Duplicate Advisory: SurrealDB has an Uncaught Exception Handling Nonexistent Role
Affects surrealdbSource GCVE Database
Not known to be exploited · CVSS 6.9 Medium : upgrade to 2.1.0 when convenient.
Data as of 30 Nov 2026, 18:36 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.1.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 18 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Upgrade surrealdb and surrealdb-core to 2.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
crates.iosurrealdbpkg:cargo/surrealdbOther threats | Affected
| Fixed in
|
crates.iosurrealdb-corepkg:cargo/surrealdb-coreOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, avoid assigning nonexistent roles to users and restrict privileged owner user actions to trusted administrators.
Description
SurrealDB versions prior to 2.1.0 have a denial of service vulnerability caused by uncaught exception handling when a user is assigned a nonexistent role. Privileged owner users can define users with invalid roles, and attackers can trigger a server crash by signing in with such users.
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-jc55-246c-r88f (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-58358 (opens in a new tab)
- vulncheck.com/advisories/surrealdb-before-denial-of-service-via-nonexistent-role (opens in a new tab)
- github.com/surrealdb/surrealdb/pull/5079 (opens in a new tab)
- github.com/surrealdb/surrealdb/pull/5092 (opens in a new tab)
- github.com/surrealdb/surrealdb (opens in a new tab)