CVE-2026-63733

SurrealDB before 3.2.0 Permissions Bypass via PERMISSIONS Clause

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

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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

Source ID Title
Github GHSA Github GHSA GHSA-66r2-5gwj-gxm2 SurrealDB: Writes in a PERMISSIONS clause bypass table permissions
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.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'}

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:53 PM