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.
CVSS 6.3EPSS 0.194%Risk 0.64
View source- Published
- 2026-07-18 14:17:09
- Affected versions
- <1.5.4
- Type
- Critical software
- Last modified
- 2026-07-21 18:37:56
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L