CVE-2024-58356 LOW

CVE-2024-58356: SurrealDB before 2.1.4 Permission Bypass via DEFINE TABLE OVERWRITE

Vendor Surrealdb
Product surrealdb
Weakness CWE-276
Published July 18, 2026
Last update July 20, 2026

CVSS base score

2.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality
Integrity

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 18, 2026 CVE published
July 20, 2026 Record updated