Read the docs
TI-2024-38442 Aliases CVE-2024-58358GHSA-jc55-246c-r88f

SurrealDB before 2.1.0 Denial of Service via Nonexistent Role

Priority LOW 31CWE-248Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-248.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00472 41st percentileScored 2026-11-07
Fix Fixed surrealdb (surrealdb): 2.1.0surrealdb (crates.io): 2.1.0+1 more product

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
surrealdbsurrealdbbefore 2.1.02.1.0Patch availableCNA
surrealdbsurrealdbbefore 2.1.02.1.0Patch availableCNA
—surrealdb (crates.io)before 2.1.02.1.0Patch availableGHSA-jc55-246c-r88f
—surrealdb-core (crates.io)before 2.1.02.1.0Patch availableGHSA-jc55-246c-r88f
  • surrealdb Vendorsurrealdb Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA
  • surrealdb Vendorsurrealdb Affected before 2.1.0 Fixed in 2.1.0 Patch available CNA
  • surrealdb (crates.io) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-jc55-246c-r88f
  • surrealdb-core (crates.io) Vendor— Affected before 2.1.0 Fixed in 2.1.0 Patch available GHSA-jc55-246c-r88f

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*before 2.1.0Vulnerablesurrealdb
  • cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* Versions before 2.1.0 Vulnerable ·surrealdb

Remediation

  • Fix · CNA surrealdb (surrealdb) Fixed in 2.1.0
  • Fix · CNA surrealdb (surrealdb) Fixed in 2.1.0
  • Fix · GHSA-jc55-246c-r88f surrealdb (crates.io) Fixed in 2.1.0 Advisory →
  • Fix · GHSA-jc55-246c-r88f surrealdb-core (crates.io) Fixed in 2.1.0 Advisory →

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    surrealdb 2.1.0

    3 records Highest priority Priority LOW 3 LOW

    Other records, highest priority first

    • TI-2024-38443 SurrealDB before 2.1.0 Denial of Service via rand() SortingPriority LOW 32
    • TI-2024-38441 SurrealDB before 2.1.0 Denial of Service via rand::time()Priority LOW 32

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-58358
  2. 2026-10-03 Alias added: GHSA-jc55-246c-r88f

References

  • TI-2026-45344 SurrealDB before 3.1.0 Session Hijacking via /rpc sessions CVSS 4.0HIGH 8.7
  • TI-2024-38452 SurrealDB before 1.1.0 Denial of Service via HTTP Headers CVSS 4.0HIGH 8.7
  • TI-2026-45347 SurrealDB before 3.1.0 Denial of Service via JSON Parser CVSS 4.0HIGH 8.7
  • TI-2026-45334 SurrealDB before 3.1.0 Denial of Service via malformed RPC use CVSS 4.0HIGH 8.7
  • TI-2025-43508 SurrealDB before 2.2.2 SurrealQL Injection via export CVSS 4.0CRITICAL 9.4
  • TI-2026-45343 SurrealDB before 3.1.0 Privilege Escalation via RPC Session Race Condition CVSS 4.0CRITICAL 9.2
See all 54 →

Sources