CVE-2024-58363
Severity CVSS v4.0:
MEDIUM
Type:
CWE-287
Authentication Issues
Publication date:
18/07/2026
Last modified:
12/08/2026
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.
Impact
Base Score 4.0
5.30
Severity 4.0
MEDIUM
Base Score 3.x
6.30
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* | 1.5.4 (excluding) | |
| cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha1:*:*:*:*:*:* | ||
| cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha2:*:*:*:*:*:* | ||
| cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha3:*:*:*:*:*:* | ||
| cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha4:*:*:*:*:*:* | ||
| cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha5:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



