VYPR
Medium severity6.3NVD Advisory· Published Jul 18, 2026· Updated Aug 12, 2026

CVE-2024-58356

CVE-2024-58356

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
surrealdbcrates.io
>= 2.0.0, < 2.1.42.1.4
surrealdb-corecrates.io
>= 2.0.0, < 2.1.42.1.4

Affected products

2
  • Surrealdb/Surrealdbllm-fuzzy2 versions
    <2.1.4+ 1 more
    • (no CPE)range: <2.1.4
    • cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*range: >=2.0.0,<2.1.4

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.