Authorization Bypass Vulnerability in SurrealDB by SurrealDB Inc.
CVE-2026-134300
7.2HIGH
What is CVE-2026-134300?
SurrealDB versions prior to 4.0.0 are vulnerable to an authorization bypass in the Document::purge_references function. This weakness allows authenticated users to circumvent established table permissions by exploiting REFERENCE ON DELETE cascades. Threat actors can delete referenced records, allowing them to unset or execute custom expressions on linked records, all while bypassing restrictions meant to prevent such actions.
Affected Version(s)
surrealdb 2.2.0 < 4.0.0
surrealdb 4.0.0
