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

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

Remediation

No vendor fix or workaround currently provided.

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 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 15: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 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'}


Subscriptions

Surrealdb Surrealdb
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

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

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

Link: CVE-2026-63749

cve-icon Vulnrichment

Updated: 2026-07-20T13:46:39.308Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses