Duplicate Advisory: SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
Moderate severity
GitHub Reviewed
Published
Jul 18, 2026
to the GitHub Advisory Database
•
Updated Sep 4, 2026
Withdrawn
This advisory was withdrawn on Sep 4, 2026
Description
Published by the National Vulnerability Database
Jul 18, 2026
Published to the GitHub Advisory Database
Jul 18, 2026
Reviewed
Sep 4, 2026
Withdrawn
Sep 4, 2026
Last updated
Sep 4, 2026
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-gh9f-6xm2-c4j2. This link is maintained to preserve external references.
Original 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.
References