CVE-2026-134300
Deferred Deferred - Pending Action

Authorization Bypass in SurrealDB via Document Purge References

Vulnerability report for CVE-2026-134300, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-21
Last Modified
2026-11-21
Generated
2026-11-21
AI Q&A
2026-11-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
surrealdb surrealdb From 2.2.0 (inc) to 4.0.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in SurrealDB (versions 2.2.0 to 3.3.0) allows authenticated users to bypass table permissions by exploiting ON DELETE CASCADE operations. The Document::purge_references function disables permission checks during cascade actions, letting attackers delete, modify, or run custom expressions on records in referencing tables even when those tables have restrictive permissions like PERMISSIONS FOR delete NONE.

Detection Guidance

To detect this vulnerability, check if your SurrealDB version is between 2.2.0 and 3.3.0. Use the command: surrealdb version. If the output falls within this range, the system is vulnerable.

Impact Analysis

An attacker with database access could delete or modify records they shouldn't have permission to touch. This includes triggering cascading deletions, unsetting fields, or executing custom expressions on other tables, potentially leading to data loss or corruption.

Compliance Impact

This vulnerability could lead to unauthorized data deletion or modification, violating integrity and access control requirements in GDPR and HIPAA. It may result in non-compliance due to insufficient protection against unauthorized data access or alteration.

Mitigation Strategies

Upgrade SurrealDB to version 4.0.0 or later immediately. This can be done by downloading the latest version from the official SurrealDB website or repository. Ensure no critical operations are running during the upgrade.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-134300. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...