CVE-2026-49997
published medium CVSS 3.1 · 5.4SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| surrealdb | — | surrealdb< 3.1.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| surrealdb | surrealdb | < 3.1.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-285 CWE-285: Improper Authorization
- CWE-863 CWE-863: Incorrect Authorization
References
3Provider assertions
2GitHub_M · cna
SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 800b7086c157f0f73c7039d522205bb969c8de7c9c49f95553f2d67fd65c7d6a
- Ingested
- 23 Sep 2026, 09:18:17 UTC
- Source record
- Official CVE record