CVE-2026-63752

SurrealDB before 3.1.0 RELATE Statement Record Overwrite

Published Jul 20, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
SurrealDB before 3.1.0 contains an authorization bypass vulnerability in the RELATE statement that allows authenticated users with CREATE permission to overwrite existing edge records without UPDATE permission. Attackers can issue a RELATE statement with a SET id clause pointing to an existing edge id, causing the storage layer to silently overwrite the target record instead of rejecting the operation.

Analysis

AI-generated

Technical impact

SurrealDB versions prior to 3.1.0 suffer an authorization bypass in the RELATE statement, permitting users who hold only CREATE permissions to overwrite edge records that require UPDATE rights. The exploit allows the attacker to silently replace the contents of an existing edge, silently removing or altering data integrity without the user’s awareness. This weakness is classified as CWE‑285 and can compromise the confidentiality and integrity of stored relationships.

Affected Systems

Vendor SurrealDB, product SurrealDB, affected releases are all versions before 3.1.0. Any instance running an unpatched release is vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate risk. The EPSS score of < 1% shows that the probability of exploitation is very low. This vulnerability is not listed in CISA’s KEV catalog. An authenticated attacker with only CREATE permissions can issue a RELATE statement that includes a SET id clause pointing to an existing edge id; the storage engine will silently overwrite the target record without validating UPDATE rights, allowing unauthorized data modification.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.1.0 or later
  • Limit the use of CREATE permissions to trusted users only
  • Disable or restrict RELATE statements that include a SET id clause where it is not required

Generated by OpenCVE AI on July 30, 2026 at 19:35 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Type Values Removed Values Added
First Time appeared Surrealdb
Surrealdb surrealdb
Vendors & Products Surrealdb
Surrealdb surrealdb
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description SurrealDB before 3.1.0 contains an authorization bypass vulnerability in the RELATE statement that allows authenticated users with CREATE permission to overwrite existing edge records without UPDATE permission. Attackers can issue a RELATE statement with a SET id clause pointing to an existing edge id, causing the storage layer to silently overwrite the target record instead of rejecting the operation.
Title SurrealDB before 3.1.0 RELATE Statement Record Overwrite
Weaknesses CWE-285
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:23 PM
Reserved
Jul 18, 2026, 12:30 PM
Status
Analyzed
Published
Jul 20, 2026, 12:19 PM
Modified
Jul 22, 2026, 3:39 PM