CVE-2026-63749

SurrealDB before 3.1.0 Authentication Bypass via LIVE SELECT

Published Jul 20, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
SurrealDB versions before 3.1.0 contain an authentication bypass vulnerability in LIVE SELECT subscriptions where permission expressions referencing $value, $before, $after, or $event are evaluated against attacker-controlled bindings instead of actual documents. Authenticated subscribers can bind chosen values to these parameter names and register LIVE SELECT queries to receive notifications for records that SELECT permission expressions should have hidden.

Analysis

AI-generated

Technical impact

SurrealDB versions before 3.1.0 allow an authenticated user to bypass permission checks within LIVE SELECT subscriptions. Permission expressions that reference the special parameters $value, $before, $after, or $event evaluate against attacker‑controlled bindings rather than the actual document contents. This flaw is a permission‑management error (CWE‑863) and can lead to unauthorized disclosure of data that should be restricted by the database’s access controls.

Affected Systems

Any SurrealDB installation running a version earlier than 3.1.0 is affected, regardless of deployment size or configuration. The vulnerability impacts the SURrealDB product distributed by the vendor surrealdb:surrealdb.

Risk and Exploitability

The CVSS score of 5.3 designates a moderate severity. An EPSS score of less than 1% indicates a very low likelihood of exploitation. The vulnerability is not listed in CISA’s KEV catalog. Exploitation requires an authenticated user who can bind values to the special parameter names and register a LIVE SELECT query; no additional access or privileged context is needed. While no active exploitation has been publicly reported, the flaw’s presence in broadly deployed databases warrants timely remediation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.1.0 or later to remove the authentication bypass flaw.
  • If an upgrade cannot be applied immediately, limit permissions for the special parameters ($value, $before, $after, $event) in LIVE SELECT subscriptions or remove the ability to bind them entirely.
  • Disable the creation or modification of LIVE SELECT subscriptions for authenticated users until the issue is resolved.

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
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 an authentication bypass vulnerability in LIVE SELECT subscriptions where permission expressions referencing $value, $before, $after, or $event are evaluated against attacker-controlled bindings instead of actual documents. Authenticated subscribers can bind chosen values to these parameter names and register LIVE SELECT queries to receive notifications for records that SELECT permission expressions should have hidden.
Title SurrealDB before 3.1.0 Authentication Bypass via LIVE SELECT
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:26 PM
Status
Analyzed
Published
Jul 20, 2026, 12:19 PM
Modified
Jul 22, 2026, 3:42 PM