Description
SurrealDB from 3.1.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated users to delete protected graph edges by triggering a REFERENCE ON DELETE CASCADE. Attackers with delete permission on a referenced table can delete a record whose cascade disables permission checks for edge cleanup, erasing edges despite the edge table's PERMISSIONS FOR delete clause.
Published: 2026-10-12
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Authorization bypass to delete protected graph edges
Action: Patch
AI Analysis

Impact

SurrealDB releases from 3.1.0 up to before 3.3.0 contain an authorization bypass that allows an authenticated user who has delete permission on a referenced table to delete protected graph edges. Triggering a REFERENCE ON DELETE CASCADE removes edges even when the edge table’s PERMISSIONS FOR delete clause should deny the action. The flaw is a missing authorization check (CWE‑862) that can alter data integrity and potentially expose vulnerabilities in downstream applications depending on the graph structure.

Affected Systems

The vulnerable versions are all SurrealDB products released before and including 3.2.x. Vendors and versions affected are SurrealDB, any release older than 3.3.0. No other subcomponents are noted as affected in the advisory.

Risk and Exploitability

The CVSS score of 5.3 rates the issue as moderate. Exploitation requires the attacker to be an authenticated user entitled to delete records in a referenced table; network exposure is not a prerequisite, so the attack vector is internal or application‑level. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting a lower overall risk compared to high‑severity alerts. Nonetheless, the bypass permits unauthorized data deletion, which can impact confidentiality, integrity, and availability of the graph data.

Generated by OpenCVE AI on October 12, 2026 at 18:32 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.3.0 or later to eliminate the bug
  • Restrict delete permissions on tables that can trigger REFERENCE ON DELETE CASCADE, applying least‑privilege role assignments
  • Configure database auditing and monitor logs for unauthorized delete operations

Generated by OpenCVE AI on October 12, 2026 at 18:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 13 Oct 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 12 Oct 2026 16:30:00 +0000

Type Values Removed Values Added
Description SurrealDB from 3.1.0 before 3.3.0 contains an authorization bypass vulnerability that allows authenticated users to delete protected graph edges by triggering a REFERENCE ON DELETE CASCADE. Attackers with delete permission on a referenced table can delete a record whose cascade disables permission checks for edge cleanup, erasing edges despite the edge table's PERMISSIONS FOR delete clause.
Title SurrealDB 3.1.0 before 3.3.0 Authorization Bypass via REFERENCE ON DELETE CASCADE
First Time appeared Surrealdb
Surrealdb surrealdb
Weaknesses CWE-862
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Vendors & Products Surrealdb
Surrealdb surrealdb
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T17:52:23.768Z

Reserved: 2026-10-12T14:19:01.653Z

Link: CVE-2026-109340

cve-icon Vulnrichment

Updated: 2026-10-13T17:52:18.352Z

cve-icon NVD

Status : Deferred

Published: 2026-10-12T17:17:30.380

Modified: 2026-10-13T18:17:19.500

Link: CVE-2026-109340

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-12T20:00:14Z

Weaknesses