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.
Published: 2026-07-20
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Tue, 28 Jul 2026 01:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Surrealdb
Surrealdb surrealdb
Vendors & Products Surrealdb
Surrealdb surrealdb

Mon, 20 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 20 Jul 2026 12:15:00 +0000

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'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-28T01:05:40.179Z

Reserved: 2026-07-18T12:26:19.866Z

Link: CVE-2026-63745

cve-icon Vulnrichment

Updated: 2026-07-20T16:01:46.467Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T19:45:06Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key