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.
References
| Link | Resource |
|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-27vq-hv74-7cqp | Vendor Advisory |
| https://www.vulncheck.com/advisories/surrealdb-before-permission-bypass-via-define-table-overwrite | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-07-18 14:17
Updated : 2026-08-12 18:54
NVD link : CVE-2024-58356
Mitre link : CVE-2024-58356
CVE.ORG link : CVE-2024-58356
JSON object : View
Products Affected
surrealdb
- surrealdb
CWE
CWE-276
Incorrect Default Permissions
