CVE-2024-58356 PUBLISHED

SurrealDB before 2.1.4 Permission Bypass via DEFINE TABLE OVERWRITE

Assigner: VulnCheck
Reserved: 08.06.2026 Published: 18.07.2026 Updated: 18.07.2026

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.

Metrics

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
CVSS Score: 2.3

Product Status

Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.1.4 (excl.)
  • Version 2.1.4 is unaffected
Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.1.4 (excl.)
  • Version 2.1.4 is unaffected

Credits

  • AlbertMarashi reporter

References

Problem Types

  • Incorrect Default Permissions CWE