Vulnerability

CVE-2024-58363

mediumCVSS 4.0 5.3Published 18 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

SurrealDB before 1.5.4 and 2.0.0-alpha.1 before 2.0.0-alpha.6 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 a user record with an identical identifier exists, allowing unauthorized actions if permissions rely solely on the $auth parameter.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Surrealdb surrealdb

Weakness type

References

  • github.com /surrealdb/surrealdb/security/advisories/GHSA-gh9f-6xm2-c4j2
  • www.vulncheck.com /advisories/surrealdb-before-authentication-bypass-via-data…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning