Skip to main content

SurrealDB CVE-2026-109336

| EUVDEUVD-2026-97638 MEDIUM
Incorrect Authorization (CWE-863)
2026-10-12 VulnCheck GHSA-578j-w8qc-q89w
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged record user
  2. Exploit
    Register LIVE SELECT aliasing $after/$before field
  3. Execution
    Trigger CREATE/UPDATE/DELETE notification
  4. Impact
    Receive restricted field value in notification

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an authenticated record user (PR:L) and a deployment that actually relies on field-level SELECT permissions to hide fields; the attacker must issue a LIVE SELECT query that projects a restricted field from the unreduced $after or $before parameters under an alias, then wait for (or trigger) a CREATE, UPDATE, or DELETE on matching records to receive the exact stored value in the live notification. Limiting factors: only SurrealDB versions before 3.3.0 are affected, valid record-user credentials are mandatory, the leak is confined to fields hidden by field-level permissions on records the user can otherwise observe via live queries, and impact is read-only disclosure (no write or availability effect).

Impact

This is a medium-severity, confidentiality-only information-disclosure issue, not a high-priority emergency. The vendor-supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N) scores 5.3 and is internally consistent with the description: network-reachable but requiring an authenticated record user (PR:L), low confidentiality impact only, and no integrity or availability impact - matching CWE-863 (incorrect authorization). No EPSS score, CISA KEV listing, or POC indicator was provided in the intelligence, so there is no public exploit identified at time of analysis and no evidence of active exploitation. The practical risk is bounded: an attacker must already hold valid record-user credentials AND the deployment must actually rely on field-level SELECT permissions to hide data, so this is primarily a multi-tenant/row-level-security data-leak concern rather than a broadly wormable flaw. Note the input provides only a CVSS 4.0 vector (no 3.1 base vector), so cross-framework comparison relies on an assessed 3.1 vector below.

Exploit ScenarioDerived

A multi-tenant SurrealDB application uses field-level SELECT permissions to hide a sensitive column (e.g., another user's email or token) from low-privileged record users. An authenticated record user registers a LIVE SELECT that projects the hidden field from the unreduced $after parameter under an alias; when any CREATE/UPDATE/DELETE fires a live notification, they receive the exact stored value, bypassing the field permission. No public POC was identified in the provided intelligence.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 12, 2026

Information disclosure in SurrealDB before 3.3.0 allows an authenticated record user to read fields that field-level SELECT permissions are meant to hide, by projecting a restricted field from the unreduced $after or $before parameters of a LIVE SELECT query under an alias. The exact stored value is then delivered inside CREATE, UPDATE, or DELETE live notifications, producing a read-only confidentiality leak scoped to records the user can already observe. Exploitation requires valid record-user credentials (PR:L, authenticated) and a deployment that actually relies on field-level SELECT permissions for secrecy; only versions before 3.3.0 are affected, and no public exploit identified at time of analysis. This is a medium-severity, confidentiality-only issue, not a high-priority emergency.

RemediationAI

Upgrade to SurrealDB 3.3.0 or later, the first release in which this issue is fixed; consult the GitHub security advisory GHSA-pm6c-q8rh-92m8 (https://github.com/surrealdb/surrealdb/security/advisories/GHSA-pm6c-q8rh-92m8) for the vendor's own guidance and the VulnCheck advisory (https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-field-permission-bypass-via-live-select-before-after) for exploitation notes. If an immediate upgrade is not possible, treat field-level SELECT permissions as non-confidential for any data reachable through LIVE SELECT: move genuinely sensitive values into separate tables or records whose access is governed by table-level or record-level rules that do not depend on field hiding, and restrict which record roles are permitted to open LIVE SELECT queries, since the trade-off is loss of real-time subscription functionality for those users. Additionally, audit existing LIVE SELECT statements that reference $after or $before (especially with aliases) to detect queries that could already be extracting hidden values, and rotate or reclassify any secrets that may have been exposed by such queries. No vendor-released workaround short of upgrading is documented in the available references.

Affected VersionsENISA

surrealdb 0 <3.3.0

Affected Packages

euvd surrealdb fix: 3.3.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

SurrealDB is a multi-model database that implements fine-grained, in-database authorization: permissions can be granted at the table level and at the field level, so a record user may be allowed to read a record while specific fields (PERMISSIONS FOR select) remain hidden. LIVE SELECT turns a query into a subscription that pushes notifications to the client whenever matching records change, and each notification embeds the affected row state through the $after and $before parameters, which represent the post-change and pre-change values. The root cause is CWE-863 (Incorrect Authorization): the field-level permission filter is applied to the reduced projection returned by ordinary SELECT, but the $after/$before objects supplied to live notification projections are not subjected to the same reduction, so a user can alias a restricted field (for example projecting $after.secret AS x) and receive the raw stored value in the notification stream. The affected scope is captured by CPE cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* covering all releases before 3.3.0. Severity is bounded: the supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N) yields a 5.3 base score, and an independent CVSS 3.1 assessment of AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N agrees that this is a network-reachable but low-confidentiality, no-integrity, no-availability flaw that cannot be triggered without credentials. Triggering a leak also requires the attacker to wait for, or cause, a CREATE, UPDATE, or DELETE on matching records so that a notification is emitted.

Know when Surrealdb gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 5.3 MEDIUM
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
vuln.today AI 4.3 MEDIUM

Network-reachable LIVE query but requires an authenticated record user (PR:L); low confidentiality disclosure of hidden fields only, with no integrity or availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Oct 12, 2026 - 18:03 EUVD

DescriptionCVE.org

SurrealDB before 3.3.0 contains an authorization bypass vulnerability that allows record users to read fields hidden by field-level SELECT permissions through LIVE SELECT projections. Attackers can project restricted fields from the unreduced $after or $before parameters under an alias to receive exact stored values in CREATE, UPDATE, and DELETE notifications.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
emerging open-source multi-model database, limited production deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2025-71392 CRITICAL
9.4 Jul 18

Privilege escalation via second-order SurrealQL injection in SurrealDB before 2.0.5, 2.1.5, and 2.2.2 lets an authentica

CVE-2026-63756 CRITICAL
9.2 Jul 20

Privilege escalation in SurrealDB before v3.1.0 lets unauthenticated attackers hijack the privileges of concurrently-act

CVE-2026-63760 HIGH
8.7 Jul 20

Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the database with a single Web

CVE-2026-63747 HIGH
8.7 Jul 20

Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the entire database process wi

CVE-2026-63757 HIGH
8.7 Jul 20

Session hijacking in SurrealDB before 3.1.0 lets unauthenticated attackers enumerate attached session UUIDs through the

CVE-2026-109343 HIGH
8.6 Oct 12

SurrealDB versions before 3.3.0 fail to validate a caller's authorization level when the SurrealQL USE statement switche

CVE-2026-109334 HIGH
8.6 Oct 12

Cross-tenant data access in SurrealDB before 3.3.0 allows an authenticated namespace- or database-level SYSTEM user to b

CVE-2026-63735 HIGH POC
8.6 Jul 20

Cross-tenant authorization bypass in SurrealDB before 3.2.0 lets any authenticated user reach custom API endpoints belon

CVE-2026-63739 HIGH
8.3 Jul 20

Arbitrary file read in SurrealDB before 3.1.5 lets an authenticated database user holding the EDITOR or OWNER role discl

CVE-2026-63763 HIGH
7.5 Jul 20

Confused-deputy privilege escalation in SurrealDB before 2.5.0 and before 3.0.0-beta.3 lets a low-privileged user (e.g.

CVE-2026-63737 HIGH
7.1 Jul 20

Denial of service in SurrealDB before 3.1.5 lets an authenticated user with query-execution privileges crash the entire

CVE-2026-109338 HIGH
7.1 Oct 12

Denial of service in SurrealDB versions before 3.3.0 lets a query-capable authenticated user with embedded JavaScript sc

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy