A AegiFlow
MEDIUMCVSS 5.3

GHSA-hgp5-pm7v-q8vg

Duplicate Advisory: SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User

Published
2026-07-18
Modified
2026-09-04
Sources
github-advisory

Summary

## 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.

Affected packages

EcosystemPackageAffected versionsFixed versions
rustsurrealdb

Remediation: No patched version is listed by GitHub.

References

Includes data from the GitHub Advisory Database, licensed under CC-BY 4.0.