Advisory record · GHSA-jc55-246c-r88f

SurrealDB has an Uncaught Exception Handling Nonexistent Role

CVSS 6.9 MediumEPSS 0.0047 · 41st percentile

Published by the GitHub Advisory Database at 22 Nov 2024, 20:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
surrealdbcrates.io<2.1.02.1.0
surrealdb-corecrates.io<2.1.02.1.0
Identifiers
GHSA-jc55-246c-r88f · CVE-2024-58358
Weakness (CWE)
CWE-248
Published
22 Nov 2024
Updated
4 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

SurrealDB (crates surrealdb and surrealdb-core, versions before 2.1.0) can panic when a user is defined with a nonexistent role and that user is then used for IAM operations such as signing in. An attacker needs an account with the owner role at any level, which lets them define such a user and crash the server, causing denial of service. Upgrade to surrealdb and surrealdb-core 2.1.0 or later, where nonexistent roles are rejected when defining a user.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.9 Medium 4.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:N CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0047, the 41st percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:17 UTC First seen by agentprime
  2. 31 Oct 2026, 15:17 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.