Skip to main content

SurrealDB CVE-2026-109333

| EUVDEUVD-2026-97635 HIGH
Missing Authorization (CWE-862)
2026-10-12 VulnCheck GHSA-7r25-4gw2-w5j3
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 low-privilege record user
  2. Exploit
    Switch session to foreign namespace/database
  3. Execution
    Issue RETURN with FETCH on known record id
  4. Impact
    Read another tenant's records

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
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: (1) a valid authenticated SurrealDB record-user session (PR:L - not anonymous); (2) a multi-tenant deployment with more than one namespace/database on the shared instance; (3) knowledge of a valid record id in the targeted foreign namespace/database; (4) the attacker switching to that foreign namespace/database and using a RETURN … FETCH query to resolve the record id; and (5) the target table's PERMISSIONS being configured to allow reads for the resolving context. Limiting factors that reduce realistic risk: the attacker must already be authenticated, must know or guess a specific record id, and the data is only exposed where table PERMISSIONS permit reads - single-tenant or strictly permissioned deployments are not affected. Impact is limited to data disclosure; no write/modify or availability effect.

Impact

The vendor CVSS 4.0 score of 7.1 (High) is driven by a network vector (AV:N), low attack complexity (AC:L), no attack requirements (AT:N), no user interaction (UI:N), and high confidentiality impact (VC:H) with no integrity or availability impact (VI:N/VA:N) and no subsequent-system/scope impact (SC:N). Critically, PR:L confirms this is NOT unauthenticated - the attacker must already hold a valid SurrealDB record-user credential, which meaningfully lowers real-world risk versus a pre-auth flaw. No EPSS score was provided, the CVE is not listed in CISA KEV, and no public proof-of-concept is referenced, so exploitation is currently theoretical/disclosure-stage rather than demonstrated. The impact is read-only cross-tenant data disclosure (classic CWE-862 Missing Authorization), not code execution or data tampering. Net assessment: a genuine multi-tenancy isolation flaw that matters for SurrealDB Cloud / shared-instance operators, but the authentication requirement, the need to know a valid target record id, and the dependency on permissive table PERMISSIONS make it a targeted-abuse issue rather than a mass-exploitation emergency. Note the input tag 'Authentication Bypass' conflicts with the description and CWE-862, which describe an AUTHORIZATION bypass - verify tagging.

Exploit ScenarioDerived

A legitimately authenticated SurrealDB record user on a shared multi-tenant instance switches their session to another tenant's namespace/database and issues a RETURN … FETCH query naming a record id they know or can guess, causing the engine to resolve and return records belonging to that foreign tenant where table PERMISSIONS permit reads. No public exploit code is identified at time of analysis, so this requires the attacker to craft the query manually, but the low attack complexity means the technique is straightforward once a record id is known.

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

Authorization bypass in SurrealDB 3.0.0 through 3.3.0 allows authenticated record users to read records from other namespaces or databases by resolving record IDs via FETCH queries. Attackers can switch to a foreign namespace/database and use a RETURN … FETCH query to read another tenant's data if table PERMISSIONS allow reads. No public exploit identified at time of analysis; exploitation requires a valid authenticated session, multi-tenant deployment, and knowledge of a specific record ID.

RemediationAI

Upgrade to SurrealDB 3.3.0 or later, which contains the vendor-released patch. Refer to the GitHub advisory (https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3vw5-j55x-486h) for upgrade instructions. If upgrading is not immediately possible, as a compensating control, review and strictly limit table PERMISSIONS for record users to the minimum necessary, ensuring that cross-namespace reads are not permitted; note that this may break legitimate multi-tenant functionality that relies on cross-namespace access. Additionally, restrict record users from switching to foreign namespaces/databases by enforcing namespace-level access controls, though this requires custom implementation and careful testing. The VulnCheck advisory (https://www.vulncheck.com/advisories/surrealdb-3.0.0-before-3.3.0-cross-tenant-record-read-via-return-fetch) provides further details.

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 that supports namespaces and databases for multi-tenancy. The vulnerability, classified as CWE-862 (Missing Authorization), arises because the database fails to enforce authorization checks when resolving record IDs through the FETCH clause in a RETURN query. An authenticated record user can specify a foreign namespace/database and a known record ID, causing the FETCH operation to read data without verifying that the user has permission to access that namespace/database. The affected CPE is cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* with version range 3.0.0 before 3.3.0. The independent assessment notes that exploitation requires a valid authenticated session (PR:L), a multi-tenant deployment, knowledge of a record ID, and table PERMISSIONS that allow reads; impact is limited to confidentiality (C:H) 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) requiring a valid record-user credential (PR:L) with no UI; only cross-tenant read disclosure, so C:H and I:N/A:N, scope unchanged as the same SurrealDB authority governs access.

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 authorization bypass vulnerability that allows authenticated record users to read records in other namespaces or databases by resolving record ids through FETCH. Attackers can switch to a foreign namespace/database and name a known record id in a RETURN … FETCH query to read another tenant's data when table PERMISSIONS allow reads.

Technical POC Analysis

Evidence note: the supplied material is the GitHub advisory GHSA-3vw5-j55x-486h plus commit titles.

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 versions 3.0.0 through 3.3.0 contain an authorization bypass that can let a record-level user read data belonging to a different tenant namespace or database, breaking the tenant isolation that multi-tenant deployments depend on. Only organizations running SurrealDB in a shared, multi-tenant configuration are exposed, and a successful read requires a valid session plus knowledge of a specific record identifier. Leadership should care because cross-tenant data exposure directly undermines customer contractual commitments and could trigger privacy notification obligations, even though the flaw is not currently being exploited at scale.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict SurrealDB deployments to single-tenant instances where feasible; scope record-user credentials and tokens to a single namespace/database; tighten table PERMISSIONS so cross-tenant record reads fail closed; limit knowledge of record IDs by avoiding client-side exposure of enumerable identifiers; and monitor queries for cross-namespace FETCH or RETURN ... FETCH access attempts.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
emerging multi-model database, limited production/enterprise footprint so far
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
High

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

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