CVE-2024-58363CWE-287

CVE-2024-58363

Medium · published July 18, 2026

CVSS v3.1
6.3
EPSS
0%
Percentile
26.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00343 · 26.6th percentile
Weakness
CWE-287 · Improper Authentication
Published
2026-07-18T18:17Z
Affected products (6)
ProductVersionsFixed in
surrealdb/surrealdb< 1.5.41.5.4
surrealdb/surrealdball versions—
surrealdb/surrealdball versions—
surrealdb/surrealdball versions—
surrealdb/surrealdball versions—
surrealdb/surrealdball versions—
References (2)
EPSS history
Timeline
  • 18 JUL 13:10Z
    SurrealDB before 1.5.4 Authentication Bypass via Database Switch
    cvelistv5