CVE Catalog

CVE-2026-49997

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.35%

27th percentile - higher than 27% of all known CVEs

Summary

In SurrealDB prior to version 3.1.0, when a node is deleted, the Document::purge_edges function automatically removes associated graph edges, bypassing the PERMISSIONS FOR delete and PERMISSIONS FOR select clauses defined on the edge table. This occurs because the operation runs with permissions disabled (opt.clone().with_perms(false)).

Risk Assessment

The organization is at risk of unauthorized deletion or reading of graph edge records, potentially leading to data integrity violations and breaches of access control policies.

Recommendation

Upgrade SurrealDB to version 3.1.0 or later immediately, which includes a fix that prevents this permission bypass.

Other vulnerabilities in SurrealDB

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS