Description
SurrealDB versions before 3.1.0 contain a field-level permission bypass vulnerability in JSON Patch operations that allows authenticated users to read protected fields. Attackers can use UPDATE PATCH with an empty from pointer in copy or move operations to duplicate all record fields, including those restricted by field-level SELECT permissions, into attacker-chosen destination fields.
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 prior to 3.1.0 contain a field-level permission bypass in JSON Patch operations. A flaw identified as CWE-863 (Missing Authorization) allows an authenticated user to read protected fields by sending an UPDATE PATCH that uses an empty 'from' pointer in copy or move operations. By duplicating all record fields—including those restricted by SELECT permissions—into attacker-chosen destinations, the attacker can access data that should remain confidential, resulting in an information disclosure vulnerability.

Affected Systems

All releases of SurrealDB before version 3.1.0 are affected, as identified by the vendor surrealdb:surrealdb. No sub-version filter is listed, so any unpatched installation of SurrealDB is vulnerable.

Risk and Exploitability

The CVSS score of 5.3 indicates medium severity, and the <1% EPSS score suggests a very low probability of exploitation. The vulnerability is not listed in the CISA KEV catalog. Attackers must be authenticated to the database and must use the JSON Patch API. By crafting a PATCH request containing an empty 'from' pointer, the attacker can read protected fields without modifying or deleting data, and the impact is limited to the data viewable under the user’s current authorizations.

Generated by OpenCVE AI on August 1, 2026 at 07:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.1.0 or later, which patches the JSON Patch field-level permission bypass.
  • Restrict or disable the JSON Patch API for users who do not need it, limiting only authorized accounts from sending PATCH requests.
  • Review and enforce field-level SELECT permissions across all database records to ensure sensitive data is protected.
  • Monitor API usage logs for abnormal PATCH activity and investigate any unauthorized attempts to use empty 'from' pointers.

Generated by OpenCVE AI on August 1, 2026 at 07:18 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 a field-level permission bypass vulnerability in JSON Patch operations that allows authenticated users to read protected fields. Attackers can use UPDATE PATCH with an empty from pointer in copy or move operations to duplicate all record fields, including those restricted by field-level SELECT permissions, into attacker-chosen destination fields.
Title SurrealDB before 3.1.0 Field Permission Bypass via JSON Patch
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:44.483Z

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

Link: CVE-2026-63751

cve-icon Vulnrichment

Updated: 2026-07-20T15:56:13.363Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T07:30:13Z

Weaknesses