CVE-2024-58363
Published:July 18, 2026
Updated:August 06, 2026
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 Packages
https://github.com/surrealdb/surrealdb.git (GITHUB):
Affected version(s) >=v1.5.0 <v1.5.4Fix Suggestion:
Update to version v1.5.4surrealdb (RUST):
Affected version(s) >=1.0.0-beta.1 <1.5.4Fix Suggestion:
Update to version 1.5.4surrealdb-core (RUST):
Affected version(s) >=1.1.1 <1.5.1Fix Suggestion:
Update to version 1.5.1Related Resources (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
Improper Authentication
EPSS
Base Score:
0.19