Back to overview

CVE-2024-58363

MEDIUM
6.3
CVSS 3.1
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.

Metadata

CVE ID
CVE-2024-58363
State
PUBLISHED
Assigner
VulnCheck
Reserved
2026-07-18 12:40 UTC
Published
2026-07-18 13:10 UTC
Last updated
2026-07-18 13:10 UTC
Primary CWE
CWE-287
Improper Authentication
Vendor / Product
surrealdb / surrealdb
Sources
cve.org  ·  NVD

Severity & Metrics

6.3 MEDIUM CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Affected products (3)
VendorProductPlatformVersions
surrealdb surrealdb 0 < 1.5.4, 1.5.4
surrealdb surrealdb 0 < 2.0.0-alpha.6, 2.0.0-alpha.6
surrealdb surrealdb 0 < 1.5.1, 1.5.1
Weakness (CWE)
CWESourceDescription
CWE-287 cna Improper Authentication
CVSS scores (2)
ScoreSeverityVersionSourceVector
6.3 MEDIUM 3.1 cna CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
5.3 MEDIUM 4.0 cna CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
References (2)
Back to overview