P2 · HighCVSS 8.1
SurrealDB 2.2.0 before 4.0.0 Permission Bypass via REFERENCE ON DELETE Cascade
- CVE-2026-134300
- GHSA-3xxc-3r8v-992v
- EUVD-2026-132241
Description
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.
Text from the CVE.org record.
Affected
surrealdb
- from 2.2.0 to before 4.0.0
- 4.0.0: not affected
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.