Skip to main content

SurrealDB CVE-2026-109335

| EUVDEUVD-2026-97637 HIGH
Information Exposure (CWE-200)
2026-10-12 VulnCheck GHSA-v47r-rv5v-pjrj
7.1
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as record user
  2. Exploit
    Query COMPUTED field deriving from hidden field
  3. Execution
    Read field-level restricted value
  4. Impact
    Information disclosure

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK

2 techniques across 2 tactics: Collection, Discovery

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 SurrealDB 'record user' (PR:L) and a schema that defines COMPUTED fields whose values are derived from other fields protected by field-level SELECT permissions; alternatively, the attacker uses write operations with RETURN clauses referencing $before/$after to surface the hidden values. The limiting factors are: valid record-user authentication is mandatory (not anonymous), and the specific schema design - computed fields referencing permission-restricted fields, or write access permitting RETURN clauses - must exist for the leak to occur. Deployments on SurrealDB 3.0.0 through pre-3.3.0 that do not use field-level SELECT permissions together with COMPUTED fields are not meaningfully exposed.

Impact

This is a moderate, authentication-gated information disclosure issue rather than a top-tier emergency. The supplied CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N) indicates a network-reachable, low-complexity attack that nonetheless requires low-level privileges (PR:L) - i.e. an authenticated record user - and yields confidentiality impact only, with no integrity or availability effect. The description is consistent with the vector: exploitation depends on being an existing 'record user' who can query data, so this is a privilege-boundary bypass within an authenticated session, not anonymous remote compromise. No EPSS score, no CISA KEV listing, and no POC indicator were provided in the input; absence of these is not itself negative, but it means there is no signal of mass or active exploitation. No SSVC decision data was supplied. Net: real but bounded - priority is driven by how sensitive the fields hidden behind SELECT permissions are in a given deployment, not by broad internet-facing exploitability. No conflicting signals were detected in the provided data beyond the general caveat that no exploitation-probability metrics were available to corroborate the severity rating.

Exploit ScenarioDerived

An authenticated SurrealDB record user who is meant to be blocked by field-level SELECT permissions instead queries records whose readable COMPUTED fields are derived from those hidden fields, or issues a write with a RETURN clause referencing $before/$after, causing the restricted values to be returned to them. This lets a low-privilege tenant or application user read data the schema intended to conceal. No public exploit identified at time of analysis, and the attack is low-complexity once the attacker holds a valid record-user credential.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 12, 2026

Authenticated SurrealDB record users can read field values that field-level SELECT permissions are meant to conceal on SurrealDB 3.0.0 through versions before 3.3.0, either by selecting records whose COMPUTED fields are derived from protected fields or by issuing write statements with RETURN clauses that reference $before/$after. It is a moderate, authentication-gated information disclosure (CVSS 4.0 7.1; independent CVSS 3.1 assessment AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) that only bites deployments whose schemas pair field-level SELECT permissions with COMPUTED fields or allow record users to use write RETURN clauses - no public exploit identified at time of analysis, and the vendor fix is SurrealDB 3.3.0.

RemediationAI

Vendor-released patch: upgrade to SurrealDB 3.3.0, the first release that closes the field-permission bypass through COMPUTED fields and $before/$after RETURN clauses (see GHSA-2jj6-v2fq-rwpp at https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2jj6-v2fq-rwpp and the VulnCheck advisory at https://www.vulncheck.com/advisories/surrealdb-3.0.0-before-3.3.0-information-disclosure-via-computed-fields). If an immediate upgrade is impossible, audit every COMPUTED field definition and remove or constrain any whose expression reads a field guarded by field-level SELECT permissions - this breaks queries and application logic that depend on those derived values, so coordinate with application owners; the alternative of dropping the field-level restriction on the underlying fields preserves the computed behavior but widens read access to the hidden data itself. For the second leak path, revoke write permissions or table-level statement permissions for record users on tables where RETURN clauses over $before/$after are not needed, at the cost of removing legitimate mutation/return workflows. Until patched, monitor record-user query logs for unusual selection of computed fields or RETURN usage, and treat any schema combining field-level SELECT permissions with COMPUTED fields as exposed. No public exploit code has been identified, so prioritization should follow the sensitivity of the fields hidden behind those permissions.

Affected VersionsENISA

surrealdb 3.0.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 with a SQL-like query language and layered access control: record users are scoped, non-anonymous principals, and field-level SELECT permissions restrict which columns a given principal may read. COMPUTED fields are virtual fields evaluated at query time from expressions over other fields, and write statements can carry RETURN clauses that reference $before/$after to emit record state around a mutation. The defect (CWE-200, Exposure of Sensitive Information) is that permission enforcement covers directly selected fields but not values surfaced indirectly: a COMPUTED expression that reads a permission-restricted field, or a RETURN clause that evaluates $before/$after, hands the hidden value back to the record user. Both the supplied CVSS 4.0 vector (CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N) and the independent CVSS 3.1 assessment (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N) describe a network-reachable, low-privilege, confidentiality-only defect with no integrity or availability impact.

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 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable query interface (AV:N/AC:L) but requires an authenticated record user (PR:L); impact is confidentiality-only (C:H, I:N, A:N) with no scope change.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Oct 12, 2026 - 18:03 EUVD
CVE Published
Oct 12, 2026 - 16:05 cve.org
HIGH 7.1

DescriptionCVE.org

SurrealDB from 3.0.0 before 3.3.0 contains an information disclosure vulnerability that allows record users to read values hidden by field-level SELECT permissions through COMPUTED fields. Attackers can select records whose readable COMPUTED fields derive from hidden fields, or use write RETURN clauses with $before/$after to expose hidden values.

Technical POC Analysis

CWE-200 (Exposure of Sensitive Information), with the underlying defect being CWE-863 (Incorrect Authorization) - an ordering bug in SurrealDB's field-level permission enforcement.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

SurrealDB deployments running 3.0.0 through versions before 3.3.0 can disclose field values that schema-level SELECT permissions are intended to conceal, allowing any authenticated record user to read protected data in environments whose schemas pair field-level SELECT permissions with COMPUTED fields or permit write statements with RETURN clauses referencing $before/$after. Because access requires valid credentials and a specific schema configuration, exposure is limited to affected applications rather than the broader network, but the data revealed may include regulated, customer, or otherwise sensitive records. Leadership should prioritise this for teams operating SurrealDB as a system of record, since the confidentiality loss is silent and may not surface in normal monitoring.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
emerging multi-model database, modest 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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Medium

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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