CVE-2026-63738

SurrealDB 3.1.0 before 3.1.5 Field Permission Bypass via Traversal

Published Jul 20, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-hv6h-hc26-q48p SurrealDB: Field-level SELECT permissions bypassed via graph and reference traversals
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 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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Jul 28, 2026, 1:05 AM
Reserved
Jul 18, 2026, 12:19 PM
Status
Analyzed
Published
Jul 20, 2026, 12:19 PM
Modified
Jul 22, 2026, 3:49 PM