Description
SurrealDB versions before 3.1.4 fail to properly enforce SELECT permissions on array elements (field.*) for record users, leaking denied array elements instead of hiding them. Attackers with record scope access can read array elements that element-level permissions should deny by exploiting incorrect index handling during permission filtering.
Published: 2026-07-20
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SurrealDB versions prior to 3.1.4 allow unauthorized disclosure of array elements that should be protected by SELECT permissions. The flaw results from incorrect handling of permission filtering when array indices are accessed, causing denied entries to be returned instead of being omitted. This permits an attacker to retrieve confidential data that belongs to another user or role. The vulnerability is classified as a permission bypass following CWE‑863 standard.

Affected Systems

The affected product is SurrealDB by SurrealDB Inc. The vulnerability exists in all releases earlier than version 3.1.4. Upgrading to v3.1.4 or later removes the flaw.

Risk and Exploitability

With a CVSS score of 7.1 the risk is considered high. The EPSS score is < 1%, indicating a very low but non‑zero likelihood of exploitation, and the vulnerability is not listed in CISA’s KEV catalog. The likely attack vector is through record‑scope access; an attacker who can issue SELECT queries against a record with array fields can exploit the mis‑indexed permission checks to read elements that should be hidden. Once the record scope is obtained, the attacker can read any denied array element, compromising confidentiality for the affected applications.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.1.4 or newer, which removes the permission filtering bug.
  • Revoke or restrict record‑scope SELECT permissions for roles that do not require array element access until the patch is applied.
  • Audit existing permission configurations to ensure denied array elements are properly protected and adjust settings to enforce stricter permissions on array fields.

Generated by OpenCVE AI on July 30, 2026 at 19:40 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 20: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.4 fail to properly enforce SELECT permissions on array elements (field.*) for record users, leaking denied array elements instead of hiding them. Attackers with record scope access can read array elements that element-level permissions should deny by exploiting incorrect index handling during permission filtering.
Title SurrealDB before 3.1.4 Array Element Permission Bypass
Weaknesses CWE-863
References
Metrics cvssV3_1

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

cvssV4_0

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


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

Reserved: 2026-07-18T12:19:06.903Z

Link: CVE-2026-63740

cve-icon Vulnrichment

Updated: 2026-07-20T19:23:32.265Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses