Description
SurrealDB versions 3.1.0 before 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. Attackers with table-level SELECT access can read field values hidden by field-level permissions by materializing records through graph traversals instead of direct table scans.
Published: 2026-07-20
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

SurrealDB versions 3.1.0 through 3.1.4 do not enforce field‑level SELECT permissions when records are retrieved via graph-edge or back‑reference traversals. An attacker who has table‑level SELECT privileges can trigger a graph traversal that materializes the full record, thereby reading fields that should otherwise be hidden by field‑level permissions. This flaw is classified as a permission bypass and could lead to disclosure of sensitive data stored in protected fields.

Affected Systems

The vulnerability affects SurrealDB 3.1.0 up through the last minor release before 3.1.5. All installation instances running any of those versions may be impacted, regardless of deployment size or environment.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity, and the EPSS score of < 1% indicates a very low likelihood of exploitation. The flaw is not listed in the CISA KEV catalog. Exploitation requires that the attacker is able to submit graph‑traversal queries with table‑level SELECT privileges, a scenario that can arise in applications that expose the database API to authenticated users. Because the attack vector does not rely on arbitrary code execution, the impact is limited to information disclosure and the risk is primarily that of leaking sensitive data rather than platform compromise.

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.5 or later to enforce field‑level SELECT permissions during graph traversals.
  • Restrict table‑level SELECT permissions so that only trusted applications or users can perform SELECT operations, limiting the attack surface.
  • Audit existing permission configurations and disable or restrict graph‑edge/back‑reference traversal queries in applications that expose the database API to authenticated users.

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

Tue, 21 Jul 2026 15: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 3.1.0 before 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. Attackers with table-level SELECT access can read field values hidden by field-level permissions by materializing records through graph traversals instead of direct table scans.
Title SurrealDB 3.1.0 before 3.1.5 Field Permission Bypass via Traversal
Weaknesses CWE-863
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/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:35.271Z

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

Link: CVE-2026-63738

cve-icon Vulnrichment

Updated: 2026-07-21T15:00:54.155Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses