CVE-2024-58363Surrealdb
Medium 5.3
Follow: this CVE · Surrealdb · Surrealdb We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 4.0
- 5.3
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 20
- Auth required
- Yes
- Published
- Jul 18, 2026
- Updated
- Oct 29, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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
What happens
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.
What to do
- Apply the vendor's security update for Surrealdb.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | surrealdb |
< 1.5.4 |
1.5.4 |
cargo update -p surrealdb --precise 1.5.4 |
| crates.io | surrealdb |
≥ 2.0.0-alpha.1 < 2.0.0-alpha.6 |
2.0.0-alpha.6 |
cargo update -p surrealdb --precise 2.0.0-alpha.6 |
| crates.io | surrealdb-core |
< 1.5.1 |
1.5.1 |
cargo update -p surrealdb-core --precise 1.5.1 |
Per OSV / GitHub Advisories (GHSA-gh9f-6xm2-c4j2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealdb | < 1.5.4 |
| surrealdb | surrealdb | 2.0.0 |
| surrealdb | surrealdb | 2.0.0 |
| surrealdb | surrealdb | 2.0.0 |
| surrealdb | surrealdb | 2.0.0 |
| surrealdb | surrealdb | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- www.vulncheck.com Third Party Advisory