Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2024-58363

medium

SurrealDB before 1.5.4 fails to properly validate authentication when a scope user switches databases using the USE clause or use method.

Vendor / product: Surrealdb — surrealdb

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.

CVSS
6.3
6.3 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
Severity source: NVD CVSS v3.1 (disclosure@vulncheck.com)
Timeline (UTC)
Published: 2026-07-18 14:17
Modified: 2026-10-29 21:17
NVD status: Modified
Last synced 9 hours ago
Verified against the source API 2026-10-29 21:28 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

surrealdb / surrealdb <1.5.4, 2.0.0

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Vendor advisory: https://github.com/surrealdb/surrealdb/security/advisories/GHSA-gh9f-6xm2-c4j2

References

Data sources

NVD CVE API 2.0 — fetched 2026-10-29 21:28 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs