GHSA-vmg6-53r4-jhpw
MEDIUM 6.3CVSS 3.1withdrawn / rejectedDuplicate Advisory: SurrealDB has Silent Failure to Overwrite Table Definition of Relation Type
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-27vq-hv74-7cqp. This link is maintained to preserve external references.
Original 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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | surrealdb | >= 2.0.0 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-27vq-hv74-7cqp · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-58356 · ADVISORY
- https://www.vulncheck.com/advisories/surrealdb-before-permission-bypass-via-define-table-overwrite · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Jul 2026)