Ghostwire

CVE-2024-58363: SurrealDB before 1.5.4 fails to properly validate authentication when a scope user switches databases using the USE...

MEDIUM CVSS 6.3 Exploit Available

Published: July 18, 2026 | Last Modified: July 18, 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.

Ghostwire Analysis — What This Means Practically

This analysis is generated by Ghostwire from NVD, CISA KEV, EPSS, and open-source intelligence data. Verify findings through primary sources before acting.

References