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

Published Jul 18, 2026
·
Updated

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 Software

2 affected components
SurrealDB SurrealDB<2.1.4
SurrealDB SurrealDB>=2.0.0<2.1.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SurrealDB to a version that resolves this vulnerability.

    Fixed in 2.1.4Patch Permission Bypass via DEFINE TABLE OVERWRITE
  2. Operational

    After upgrading to SurrealDB 2.1.4, re-apply any table permission changes intended to be enforced via DEFINE TABLE ... OVERWRITE, since SurrealDB before 2.1.4 can silently fail to overwrite table definitions for tables defined with TYPE RELATION.

Event History

Jul 18, 2026
CVE Published
via MITRE·01:10 PM
Data Sourced
via MITRE·01:10 PM
DescriptionWeakness
Data Sourced
via NVD·02:17 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-58356?

The severity of CVE-2024-58356 is classified as low with a CVSS score of 2.3.

2

How do I fix CVE-2024-58356?

To fix CVE-2024-58356, upgrade SurrealDB to version 2.1.4 or later.

3

What systems are affected by CVE-2024-58356?

CVE-2024-58356 affects SurrealDB versions prior to 2.1.4.

4

What is the nature of the vulnerability in CVE-2024-58356?

CVE-2024-58356 is a permission bypass vulnerability related to the DEFINE TABLE OVERWRITE clause in SurrealDB.

5

Are there any workarounds for CVE-2024-58356?

There are no known workarounds for CVE-2024-58356 other than upgrading to the latest version of SurrealDB.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203