CVE-2026-63751

SurrealDB before 3.1.0 Field Permission Bypass via JSON Patch

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

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-fpxg-5xmv-922m SurrealDB has bypass of field-level SELECT permissions through JSON Patch `copy` and `move` with empty `from`
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 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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 8, 2026, 3:23 PM
Reserved
Jul 18, 2026, 12:26 PM
Status
Analyzed
Published
Jul 20, 2026, 12:19 PM
Modified
Jul 22, 2026, 3:39 PM