CVE-2024-58356Surrealdb
Low 2.3
Follow: this CVE · Surrealdb · Surrealdb We alert you by email or Slack (account required).
- Priority
- 14
- CVSS 4.0
- 2.3
- EPSS
- 0.3% probability of exploitation in 30 days · percentile 12
- Auth required
- Yes
- Published
- Jul 18, 2026
- Updated
- Oct 27, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-276
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:4.0/AV:N/AC:L/AT:P/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 2.1.4 silently fails to overwrite table definitions when the DEFINE TABLE ... OVERWRITE clause is used on tables defined with TYPE RELATION. Because table definitions include the PERMISSIONS clause, an attempt to tighten a table's permissions via OVERWRITE does not take effect, and the administrator may incorrectly believe the change was applied. As a result, a client authorized to run queries may continue to access data in that table that the updated (but unapplied) permissions were intended to restrict.
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 |
≥ 2.0.0 < 2.1.4 |
2.1.4 |
cargo update -p surrealdb --precise 2.1.4 |
| crates.io | surrealdb-core |
≥ 2.0.0 < 2.1.4 |
2.1.4 |
cargo update -p surrealdb-core --precise 2.1.4 |
Per OSV / GitHub Advisories (GHSA-27vq-hv74-7cqp). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealdb | ≥ 2.0.0 < 2.1.4 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- www.vulncheck.com Third Party Advisory