Security mailing lists by PureSourceCode

CVE-2024-58363

MEDIUM 5.3CVSS 4.0

SurrealDB vulnerable to Improper Authentication when Changing Databases as Scope User

SurrealDB before 1.5.4 and 2.0.0-alpha.1 before 2.0.0-alpha.6 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.

Published
18 Jul 2026
Last modified
29 Oct 2026
Assigned by
disclosure@vulncheck.com
NVD status
Modified
Weakness
CWE-287
Also known as
GHSA-gh9f-6xm2-c4j2
Sources
NVDJSONOSV GHSA-gh9f-6xm2-c4j2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 MEDIUM 5.3 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 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
NVD disclosure@vulncheck.com (Secondary) 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
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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD surrealdb surrealdb
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
< 1.5.4 1.5.4
NVD surrealdb surrealdb
cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha1:*:*:*:*:*:*
= 2.0.0
NVD surrealdb surrealdb
cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha2:*:*:*:*:*:*
= 2.0.0
NVD surrealdb surrealdb
cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha3:*:*:*:*:*:*
= 2.0.0
NVD surrealdb surrealdb
cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha4:*:*:*:*:*:*
= 2.0.0
NVD surrealdb surrealdb
cpe:2.3:a:surrealdb:surrealdb:2.0.0:alpha5:*:*:*:*:*:*
= 2.0.0
OSV crates.io surrealdb < 1.5.4 1.5.4
OSV crates.io surrealdb >= 2.0.0-alpha.1, < 2.0.0-alpha.6 2.0.0-alpha.6
OSV crates.io surrealdb-core < 1.5.1 1.5.1

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 18 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Jul 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.