Skip to content
DayZeroHub
High Not yet writtenCVSS 7.2CVE-2026-134300

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

surrealdb surrealdb

Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.

Summary

CVE-2026-134300: high-severity vulnerability (CVSS 7.2) in surrealdb surrealdb.

What happened

Original description from the source: 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.

Why it matters

High severity, CVSS 7.2.

Affected products and versions

surrealdb surrealdb >= 2.2.0, < 4.0.0; surrealdb surrealdb 4.0.0 (fixed in 4.0.0)

ProductVersionsFixed in
surrealdb surrealdb>= 2.2.0, < 4.0.0—
surrealdb surrealdb4.0.04.0.0

Action recommended by the source

Upgrade to a fixed version: 4.0.0.

Fixed in: 4.0.0

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-863

Relevant change history

  1. Published

    Preliminary advisory published.