Vulnerability

CVE-2024-58356

lowCVSS 4.0 2.3Published 18 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

From the NVD's configuration data (CPE), vendor first.

  • Surrealdb surrealdb

Weakness type

References

  • github.com /surrealdb/surrealdb/security/advisories/GHSA-27vq-hv74-7cqp
  • www.vulncheck.com /advisories/surrealdb-before-permission-bypass-via-define-t…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning