Security mailing lists by PureSourceCode

CVE-2024-58356

LOW 2.3CVSS 4.0

SurrealDB has Silent Failure to Overwrite Table Definition of Relation Type

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.

Published
18 Jul 2026
Last modified
27 Oct 2026
Assigned by
disclosure@vulncheck.com
NVD status
Analyzed
Weakness
CWE-276CWE-732
Also known as
GHSA-27vq-hv74-7cqp
Sources
NVDJSONOSV GHSA-27vq-hv74-7cqpJSON

Scores

SourceScored byVersionScoreVector / decision
NVD disclosure@vulncheck.com (Secondary) CVSS 4.0 LOW 2.3 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 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
NVD nvd@nist.gov (Primary) 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD surrealdb surrealdb
cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.1.4 2.1.4
OSV crates.io surrealdb >= 2.0.0, < 2.1.4 2.1.4
OSV crates.io surrealdb-core >= 2.0.0, < 2.1.4 2.1.4

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 18 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Dec 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.