← Database

CVE-2026-49997

MEDIUM CVSS: 5.4 Published: 2026-07-15 Modified: 2026-07-20

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.

Affected Platforms

Unknown

Weakness Type

CWE-285, CWE-863

References