Description
SurrealDB versions before 3.2.0 contain a permissions bypass vulnerability where data-modifying statements within PERMISSIONS clauses execute with enforcement disabled. Attackers with permission to perform a guarded operation can write to tables they lack permission for by embedding CREATE, UPDATE, DELETE, or UPSERT statements in the PERMISSIONS clause, causing unintended writes and data corruption.
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 before 3.2.0 allow an attacker with permission to perform a guarded operation to embed data‑modifying statements such as CREATE, UPDATE, DELETE, or UPSERT inside a PERMISSIONS clause. The embedded statements are executed with enforcement disabled, enabling the attacker to write to tables for which they had no prior write privileges and potentially corrupting data. This weakness is a missing access control flaw (CWE‑863).

Affected Systems

SurrealDB products before version 3.2.0 from the vendor surrealdb are affected.

Risk and Exploitability

The vulnerability carries a CVSS score of 5.3, indicating moderate severity. EPSS score is < 1%, indicating a very low likelihood of exploitation, and the issue is not listed in the CISA KEV catalog. An attacker only needs the ability to perform a guarded operation; from that foothold they can bypass permission checks and write to unauthorized tables. The risk is therefore low to moderate for environments with strict permission controls but can be substantial if permissive guarded operations exist.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.2.0 or later to eliminate the flaw.
  • Restrict the use of guarded operations by applying the principle of least privilege and disallowing write statements within PERMISSIONS clauses.
  • Conduct a comprehensive audit of existing permissions and revoke any that permit embedding data‑modifying statements in PERMISSIONS clauses.

Generated by OpenCVE AI on July 30, 2026 at 19:42 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 05: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.2.0 contain a permissions bypass vulnerability where data-modifying statements within PERMISSIONS clauses execute with enforcement disabled. Attackers with permission to perform a guarded operation can write to tables they lack permission for by embedding CREATE, UPDATE, DELETE, or UPSERT statements in the PERMISSIONS clause, causing unintended writes and data corruption.
Title SurrealDB before 3.2.0 Permissions Bypass via PERMISSIONS Clause
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:N/I:L/A:N'}

cvssV4_0

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


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

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

Link: CVE-2026-63733

cve-icon Vulnrichment

Updated: 2026-07-20T16:09:04.458Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses