CVE-2024-58356CWE-276

CVE-2024-58356

Medium · published July 18, 2026

CVSS v3.1
6.3
EPSS
0%
Percentile
18.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00273 · 18.7th percentile
Weakness
CWE-276 · Incorrect Default Permissions
Published
2026-07-18T18:17Z
Affected products (1)
ProductVersionsFixed in
surrealdb/surrealdb≥ 2.0.0, < 2.1.42.1.4
References (2)
EPSS history
Timeline
  • 18 JUL 13:10Z
    SurrealDB before 2.1.4 Permission Bypass via DEFINE TABLE OVERWRITE
    cvelistv5