CVE-2024-58356

published 18 Jul 2026 · updated 28 Jul 2026

SurrealDB before 2.1.4 Permission Bypass via DEFINE TABLE OVERWRITE

2.3LowCVSS 2.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.1.4.

SurrealDB before 2.1.4 silently fails to overwrite table definitions when the DEFINE TABLE ... OVERWRITE clause is used on tables defined with TYPE RELATION. Because table definitions include the PERMISSIONS clause, an attempt to tighten a table's permissions via OVERWRITE does not take effect, and the administrator may incorrectly believe the change was applied. As a result, a client authorized to run queries may continue to access data in that table that the updated (but unapplied) permissions were intended to restrict.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
surrealdb<2.1.42.1.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-58356 severity on Zeptric[![CVE-2024-58356](https://zeptric.io/badge/cve/CVE-2024-58356.svg)](https://zeptric.io/cve/CVE-2024-58356)