CVE-2024-58370Surrealdb
High 7.1
Follow: this CVE · Surrealdb · Surrealdb We alert you by email or Slack (account required).
- Priority
- 43
- CVSS 4.0
- 7.1
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 35
- Auth required
- Yes
- Published
- Jul 18, 2026
- Updated
- Oct 27, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-674
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
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/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 versions before 1.1.0 fail to enforce recursion depth limits when parsing nested SurrealQL statements including IF, RELATE, and attribute access idioms. Authorized attackers can submit queries with excessive nesting depth to cause stack overflow and crash the server.
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.1.0 |
1.1.0 |
cargo update -p surrealdb --precise 1.1.0 |
Per OSV / GitHub Advisories (GHSA-6r8p-hpg7-825g). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealdb | < 1.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- www.vulncheck.com Third Party Advisory