CVE-2026-63745

SurrealDB before 3.1.0 Authorization Bypass via Composite Record-id

Published Jul 20, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
SurrealDB versions before 3.1.0 contain an authorization bypass vulnerability where authenticated users can spoof composite record-id field values by writing to editable body fields. Attackers can bypass permission rules that gate access on id components like tenant isolation by setting same-named body fields to spoofed values that permission checks incorrectly read instead of the immutable id key.

Analysis

AI-generated

Technical impact

A vulnerability in SurrealDB allows an authenticated user to modify the composite record-id field by writing to body fields, which bypasses permission checks that rely on id components such as tenant isolation. The weakness is an authorization bypass (CWE‑639) and can grant an attacker access to data belonging to other tenants, effectively elevating privileges within the database. The impact is the compromise of confidentiality and integrity of protected data for users who are not intended to have access.

Affected Systems

SurrealDB versions before 3.1.0 are affected. Any deployment of the database product from the vendor surrealdb is potentially vulnerable if it runs a pre‑3.1.0 release.

Risk and Exploitability

The CVSS score of 5.3 indicates that the vulnerability has moderate severity. The EPSS score of < 1% indicates a very low probability of exploitation, and the issue is not listed in the CISA KEV catalog. The likely attack vector is an authenticated API request that writes to editable body fields; once authenticated, an attacker can set those fields to spoof the composite record-id used in permission checks, thereby bypassing tenant isolation and other access controls. The impact is therefore privilege escalation and unauthorized data access within the database environment.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.1.0 or later
  • Restrict database roles so that only trusted users can modify body fields that influence permission checks
  • Reconfigure or disable logic that interprets composite record-id values from body fields, ensuring permission checks use immutable id keys only

Generated by OpenCVE AI on July 30, 2026 at 19:38 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 versions before 3.1.0 contain an authorization bypass vulnerability where authenticated users can spoof composite record-id field values by writing to editable body fields. Attackers can bypass permission rules that gate access on id components like tenant isolation by setting same-named body fields to spoofed values that permission checks incorrectly read instead of the immutable id key.
Title SurrealDB before 3.1.0 Authorization Bypass via Composite Record-id
Weaknesses CWE-639
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:23 PM
Reserved
Jul 18, 2026, 12:26 PM
Status
Analyzed
Published
Jul 20, 2026, 12:19 PM
Modified
Oct 8, 2026, 4:17 PM