CVE-2026-134300

published 21 Nov 2026 · updated 24 Nov 2026

SurrealDB 2.2.0 before 4.0.0 Permission Bypass via REFERENCE ON DELETE Cascade

8.1HighCVSS 8.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.0.0.

SurrealDB from 2.2.0 before 4.0.0 contains an authorization bypass vulnerability in Document::purge_references that lets authenticated users bypass target table PERMISSIONS by triggering REFERENCE ON DELETE cascades. Attackers can delete a referenced record to delete, unset, or run CUSTOM expressions on referencing records despite PERMISSIONS FOR delete or update NONE.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
surrealdb>=2.2.0 <4.0.04.0.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-134300 severity on Zeptric[![CVE-2026-134300](https://zeptric.io/badge/cve/CVE-2026-134300.svg)](https://zeptric.io/cve/CVE-2026-134300)