Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
SurrealDB versions before 2.1.0 (crates.io packages surrealdb and surrealdb-core) can panic when a table is sorted with ORDER BY rand(). An authenticated client allowed to run queries can trigger this crash, causing denial of service. Upgrade to version 2.1.0 or later; users who cannot upgrade should limit which clients can run queries.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 7.1 | High | 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0045, the 39th percentile, on 8 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 15:18 UTC First seen by agentprime
- 31 Oct 2026, 15:18 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-m52v-24p8-654f
- OSV: GHSA-m52v-24p8-654f
- github.com/surrealdb/surrealdb/security/advisories/GHSA-m52v-24p8-654f
- github.com/surrealdb/surrealdb/issues/4969
- github.com/surrealdb/surrealdb/pull/4805
- github.com/surrealdb/surrealdb/pull/4906
- github.com/surrealdb/surrealdb/pull/4989
- github.com/surrealdb/surrealdb