← News

SurrealDB: bypass permissions to delete records

HighAI-generated2026-11-22

CVE
CVE-2026-134300
Severity
High (CVSS 8.1)
Attack conditions
Remotely, over the network · A regular user account is needed · No user action needed
Exploitation probability (EPSS)
0.4% (within 30 days; FIRST EPSS, 25 November 2026)

Summary

SurrealDB versions from 2.2.0 up to but not including 4.0.0 contain an authorization bypass that lets authenticated users delete or modify data they should not be able to.

Details

According to the NVD record, SurrealDB versions 2.2.0 through 3.x (before 4.0.0) have a flaw in the Document::purge_references function. The issue allows authenticated users to bypass table permissions by triggering reference-on-delete cascades.

An attacker can delete a referenced record, which then causes deletion, unsetting, or execution of custom expressions on related records, even when the attacker lacks delete or update permissions for those records.

What to do

The source record does not name a specific patch, fixed version or workaround. General measures:

  • Follow the vendor's security advisories.
  • Apply the update when it is released.
  • Limit access to the product as much as possible, especially from the internet.

Sources

Timeline

  • 21 November 2026 NVD record published
  • 22 November 2026 This article was written