Unrated severityNVD Advisory· Published Jul 18, 2026· Updated Jul 28, 2026
SurrealDB before 1.5.4 Authentication Bypass via Database Switch
CVE-2024-58363
Description
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 a user record with an identical identifier exists, allowing unauthorized actions if permissions rely solely on the $auth parameter.
Affected products
1Patches
Vulnerability mechanics
References
2- github.com/surrealdb/surrealdb/security/advisories/GHSA-gh9f-6xm2-c4j2mitrevendor-advisory
- www.vulncheck.com/advisories/surrealdb-before-authentication-bypass-via-database-switchmitrethird-party-advisory
News mentions
0No linked articles in our index yet.