CVE-2026-49997CWE-285CWE-863

SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted

Medium · published July 15, 2026

CVSS v3.1
5.4
EPSS
0%
Percentile
27.1
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00347 · 27.1th percentile
Weaknesses
CWE-285 · Improper Authorization; CWE-863 · Incorrect Authorization
Published
2026-07-15T16:14Z
EPSS history
Timeline
  • 15 JUL 16:14Z
    SurrealDB: Edge PERMISSIONS FOR delete bypassed when a connected node is deleted
    cvelistv5