CVE-2024-58363

Medium

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.

SeverityMedium
CVSS6.3
Exploit probability—
ProductSurrealdb
PublishedJul 18, 2026
First seenJul 18, 2026

How to fix

Update
  • surrealdb surrealdb1.5.4 or later

Affected products

ProductAffected versionsFixed in
surrealdb surrealdbv < 1.5.4, 2.0.01.5.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-58363 · Surrealdb · Dark Radar