Advisory record · GHSA-27vq-hv74-7cqp

SurrealDB has Silent Failure to Overwrite Table Definition of Relation Type

CVSS 2.3 LowEPSS 0.0027 · 20th percentile

Published by the GitHub Advisory Database at 16 Dec 2024, 17:38 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
surrealdbcrates.io>=2.0.0, <2.1.42.1.4
surrealdb-corecrates.io>=2.0.0, <2.1.42.1.4
Identifiers
GHSA-27vq-hv74-7cqp · CVE-2024-58356
Weakness (CWE)
CWE-276 · CWE-732
Published
16 Dec 2024
Updated
4 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

SurrealDB (crates.io packages surrealdb and surrealdb-core) versions 2.0.0 up to 2.1.4 do not apply OVERWRITE to DEFINE TABLE statements for tables defined with TYPE RELATION, so permission changes silently fail. An authorized client could then reach data in those tables that the intended permissions were meant to block. Upgrade to version 2.1.4 or later. Until then, check the table's permissions with INFO FOR DB after any OVERWRITE change.

Written 8 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
2.3 Low 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 CNA (VulnCheck)
  • CISA KEV Not listed.
  • EPSS 0.0027, the 20th percentile, on 20 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 15:17 UTC First seen by agentprime
  2. 31 Oct 2026, 15:17 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.