CVE-2026-49997surrealdb
Medium 5.4
Follow: this CVE · surrealdb · surrealdb We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 15, 2026
- Updated
- Jul 20, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
What happens
SurrealDB is a scalable, distributed, collaborative, document-graph database for the realtime web. Prior to 3.1.0, Document::purge_edges in surrealdb/core/src/doc/delete.rs automatically removed graph edge records with permissions disabled through opt.clone().with_perms(false) when a connected node was deleted, bypassing the edge table's PERMISSIONS FOR delete and PERMISSIONS FOR select clauses. This issue is fixed in version 3.1.0.
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 |
< 3.1.0 |
3.1.0 |
cargo update -p surrealdb --precise 3.1.0 |
Per OSV / GitHub Advisories (GHSA-whwg-vh4f-pmmf). Check the version in your lockfile before upgrading.
Affected products
- surrealdb · surrealdb
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.