CyberRota Analysis
AI-GeneratedSurrealDB versions prior to 2.1.4 are vulnerable due to a failure to properly overwrite table definitions when using the DEFINE TABLE ... OVERWRITE clause on tables defined with TYPE RELATION. This flaw allows unauthorized clients to maintain access to restricted data, as changes to the PERMISSIONS clause do not take effect, potentially leading to data exposure. Database administrators and organizations using SurrealDB should prioritize this issue to ensure proper access controls and data security.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD 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.
Related CVEs
Other vulnerabilities affecting the same vendor(s)