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

Published Updated

Authenticated SurrealDB users can delete or modify records they lack permission for by triggering REFERENCE ON DELETE cascades.

CVSS score

High

7.2/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
4.0.0
Attack path
Over the internet
Any signed-in user, no user action

What is CVE-2026-134300?

CVE-2026-134300 is a high-severity missing authorization vulnerability in surrealdb, published on 21 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-863

How severe is CVE-2026-134300?

CVE-2026-134300 scores 7.2 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
Low
User interaction
None
Confidentiality
None
Integrity
High
Availability
High

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-134300?

1 open source package ship an affected version, including surrealdb.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
surrealdb crates.io
pkg:cargo/surrealdb
From 2.2.04.0.0

How do I fix CVE-2026-134300?

Upgrade surrealdb to 4.0.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-134300 being exploited?

There is no known exploitation of CVE-2026-134300 in the wild and no public exploit code.

Sources

Also known as GHSA-3xxc-3r8v-992v, GHSA-fh2q-8f75-m4h6.

Is CVE-2026-134300 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free