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

Published Jul 18, 2026
·
Updated

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.

Affected Software

7 affected components
SurrealDB SurrealDB<1.5.4
SurrealDB SurrealDB<1.5.4
SurrealDB SurrealDB=2.0.0-alpha1
SurrealDB SurrealDB=2.0.0-alpha2
SurrealDB SurrealDB=2.0.0-alpha3
SurrealDB SurrealDB=2.0.0-alpha4
SurrealDB SurrealDB=2.0.0-alpha5

Event History

Jul 18, 2026
CVE Published
via MITRE·01:10 PM
Data Sourced
via MITRE·01:10 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-58363?

The severity of CVE-2024-58363 is rated as medium with a score of 5.3.

2

How do I fix CVE-2024-58363?

To remediate CVE-2024-58363, upgrade SurrealDB to version 1.5.4 or later.

3

What type of attack is associated with CVE-2024-58363?

CVE-2024-58363 is an authentication bypass vulnerability that allows session impersonation.

4

Which software is affected by CVE-2024-58363?

CVE-2024-58363 affects SurrealDB versions prior to 1.5.4.

5

How does CVE-2024-58363 impact user security?

CVE-2024-58363 can allow authenticated attackers to impersonate other users across databases.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203