Auth bypass in Surrealdb

CVE-2024-58363

SurrealDB before 1.5.4 fails to properly validate authentication when a scope user switches databases using the USE clause or use method. Attackers with an authenticated session can impersonate an unrelated user in a different database if…

Vulnerability class: Broken Authentication

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

  • Surrealdb — versions 0, 1.5.4, 2.0.0-alpha.6

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-58363?
CVE-2024-58363 is a medium-severity vulnerability in Surrealdb, classified under Improper Authentication. CVSS score: 6.3/10. Published 2026-07-18.
How severe is CVE-2024-58363?
Medium severity. CVSS v3 base score is 6.3 out of 10.