CVE-2024-58363 MEDIUM

CVE-2024-58363: SurrealDB before 1.5.4 Authentication Bypass via Database Switch

Vendor Surrealdb
Product surrealdb
Weakness CWE-287 · Improper authentication
Published July 18, 2026
Last update July 20, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 18, 2026 CVE published
July 20, 2026 Record updated

Related vulnerabilities

04Related CVE