GHSA-hgp5-pm7v-q8vg
MEDIUM 6.3CVSS 3.1withdrawn / rejectedDuplicate Advisory: SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | surrealdb | <= 1.5.3 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-gh9f-6xm2-c4j2 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-58363 · ADVISORY
- https://www.vulncheck.com/advisories/surrealdb-before-authentication-bypass-via-database-switch · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Jul 2026)