Skip to main content
CVE-2024-58363VulnerabilityPublished Updated

Duplicate Advisory: SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User

Affects surrealdbSource GCVE Database

0
Compare
Authoritative record:CVE-2024-58363· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.5.4 when convenient.

Data as of 30 Nov 2026, 18:36 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.3
CNA (VulnCheck)CVSS 3.16.3
EPSS
0.3% chance of exploitation in 30 days – higher than 20% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.5.4, 2.0.0-alpha.6, 1.5.1
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 18 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 30 Nov 2026.

What to do

Upgrade surrealdb to 1.5.4; surrealdb to 2.0.0-alpha.6; surrealdb-core to 1.5.1.

Affected software

ProductAffectedFixed in
crates.iosurrealdbpkg:cargo/surrealdbOther threatsAffected
  • <1.5.4
Fixed in
  • 1.5.4
crates.iosurrealdbpkg:cargo/surrealdbOther threatsAffected
  • >=2.0.0-alpha.1 <2.0.0-alpha.6
Fixed in
  • 2.0.0-alpha.6
crates.iosurrealdb-corepkg:cargo/surrealdb-coreOther threatsAffected
  • <1.5.1
Fixed in
  • 1.5.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fixed version is available starting from SurrealDB 1.5.4. Users should upgrade to version 1.5.4 or later to remediate this vulnerability. Patch status is confirmed by the versioning information indicating affected versions are prior to 1.5.4.

Description

SurrealDB versions before 1.5.4 contain an authentication validation flaw when a scope user switches databases using the USE clause or use method. This allows an authenticated user to impersonate another user in a different database if a user with the same identifier exists, potentially enabling unauthorized actions based on the $auth parameter. The vulnerability has a medium severity rating with a CVSS score of 6.3.

References

Community reviews

Loading reviews…