Skip to main content

SurrealDB CVE-2026-109342

| EUVDEUVD-2026-97644 MEDIUM
Missing Authentication for Critical Function (CWE-306)
2026-10-12 VulnCheck GHSA-6872-82p6-5gmv
5.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain VIEWER account or leaked token
  2. Exploit
    Enumerate grant IDs via ACCESS SHOW ALL
  3. Execution
    Call revoke RPC without proof of possession
  4. Impact
    Invalidate victims' refresh tokens forcing re-auth

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

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

Exploitation Conditions

The target must run SurrealDB 3.0.0 through 3.2.x (fixed in 3.3.0) with network-reachable RPC. The primary path requires a low-privileged account holding VIEWER permission, which is used to run ACCESS SHOW ALL to harvest other users' grant identifiers; alternatively, an attacker who has obtained leaked grant identifiers or tokens can call the revoke RPC directly. The core defect is that the revoke RPC does not require proof of possession of the token being revoked. Exploitation is LIMITED to invalidating refresh tokens - it causes targeted forced re-authentication/session denial, and does not grant read access to data, code execution, or privilege escalation. The main mitigating factor is the need for either VIEWER-level access or previously leaked grant/token identifiers, which constrains fully anonymous abuse.

Impact

This is a medium-severity (CVSS 4.0 base 5.3) authentication/authorization flaw whose real-world risk is moderate and bounded. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) indicates a network-reachable, low-complexity attack that requires low privileges - consistent with the description's note that a VIEWER-permission account can enumerate grant identifiers via ACCESS SHOW ALL. However, the description ALSO states 'unauthenticated callers' can abuse the revoke RPC, which partially conflicts with the vendor's PR:L rating; this suggests PR:L reflects the typical path (needing VIEWER to harvest grant IDs) while a fully unauthenticated path may exist if grant identifiers or tokens are leaked - verify the exact precondition with the GHSA advisory. Impact is deliberately narrow: VC:N (no confidentiality loss), VI:L and VA:L (limited integrity/availability - the attacker can invalidate other users' refresh tokens, forcing re-authentication, i.e. a targeted session-level denial of service rather than code execution or data theft). No EPSS score was provided, there is no CISA KEV listing, and no public proof-of-concept was supplied, so there is no public exploit identified at time of analysis. Net: this is a legitimate authorization-hardening priority for SurrealDB operators on 3.0.0-3.2.x, but it is a limited-impact session-disruption bug, not a critical remote-code-execution or data-breach issue - patch on a normal cycle rather than as an emergency.

Exploit ScenarioDerived

An attacker holding a low-privilege VIEWER account (or a leaked token) connects to a SurrealDB 3.0.0-3.2.x instance, runs ACCESS SHOW ALL to enumerate other users' grant identifiers, then invokes the revoke RPC method - which fails to verify proof of possession - to permanently invalidate those users' refresh tokens. The result is forced re-authentication / session disruption for the targeted accounts. No public proof-of-concept exploit was provided in the available data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.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

SurrealDB 3.0.0 through 3.2.x allows low-privileged authenticated attackers (or those with leaked grant identifiers) to invalidate other users' refresh tokens via the revoke RPC method without proof of possession, forcing targeted re-authentication and session denial. The flaw stems from missing authentication in the revoke RPC, and exploitation requires either VIEWER permission to run ACCESS SHOW ALL for harvesting grant IDs or previously leaked tokens. Rated medium severity (CVSS 4.0 base 5.3), impact is bounded to session invalidation with no data disclosure, code execution, or privilege escalation; no public exploit identified at time of analysis.

RemediationAI

Upgrade to SurrealDB 3.3.0 or later, which contains the vendor-released patch for this missing authentication flaw. The official advisory at https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2jc3-58q7-mm2j and the VulnCheck advisory at https://www.vulncheck.com/advisories/surrealdb-3.0.0-before-3.3.0-missing-authentication-in-revoke-rpc-method provide further guidance. If immediate upgrading is not feasible, apply compensating controls: restrict network access to the SurrealDB RPC endpoint to trusted clients only (this may break legitimate remote access), and audit and minimize the assignment of the VIEWER permission, since that role can run ACCESS SHOW ALL to harvest grant identifiers (this may impact read-only reporting or monitoring accounts). Additionally, rotate refresh tokens if leakage is suspected, and monitor logs for unexpected revoke RPC calls or ACCESS SHOW ALL invocations. These workarounds reduce exposure but do not eliminate the underlying missing authentication check; upgrading remains the only complete fix.

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 exposes an RPC interface for client interactions, including token management operations such as refresh and revoke. The vulnerability is classified as CWE-306 (Missing Authentication for Critical Function): the revoke RPC method fails to require proof of possession of the token being revoked, enabling any caller with a valid grant identifier to permanently invalidate that refresh token. Attackers can obtain grant identifiers either by using a low-privileged account with VIEWER permission to invoke ACCESS SHOW ALL, which discloses grant IDs, or by leveraging leaked tokens. The affected component is the database server's RPC endpoint, and the CPE string cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:* indicates a wildcard for all versions, though the description specifically limits the vulnerable range to 3.0.0 through 3.2.x (fixed in 3.3.0). The CVSS 4.0 vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L confirms network exploitability with low attack complexity, no user interaction, and low privileges required, resulting in low integrity and availability impact but no confidentiality impact. The independent assessment concurs, rating CVSS 3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L and emphasizing that the defect does not grant read access, code execution, or privilege escalation.

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:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 5.4 MEDIUM

Network-reachable RPC (AV:N, AC:L); the realistic path needs a VIEWER account to enumerate grant IDs so PR:L; no confidentiality loss (C:N); token revocation yields limited integrity/availability impact (I:L/A:L).

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/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
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
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 from 3.0.0 before 3.3.0 contains a missing authentication vulnerability in the revoke RPC method that allows low-privileged or unauthenticated callers to invalidate other users' refresh tokens without proof of possession. Attackers can obtain grant identifiers via ACCESS SHOW ALL with VIEWER permission or leaked tokens, then permanently revoke refresh tokens to force re-authentication.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Low
emerging Rust multi-model database, limited enterprise production 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.3%
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