Skip to content

CVE-2026-134300 SurrealDB 2.2.0 before 4.0.0 Permission Bypass via REFERENCE ON DELETE Cascade

HighCVSS 7.2 EPSS 0.44%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
crates.io surrealdb >= 2.2.0, < 4.0.0 4.0.0 Fixed

Affected products

ProductAffected versionsFixed in
crates.io surrealdb >= 2.2.0, < 4.0.0 4.0.0

References