Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain VIEWER account or leaked token
-
ExploitEnumerate grant IDs via ACCESS SHOW ALL
-
ExecutionCall revoke RPC without proof of possession
-
ImpactInvalidate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation via second-order SurrealQL injection in SurrealDB before 2.0.5, 2.1.5, and 2.2.2 lets an authentica
Privilege escalation in SurrealDB before v3.1.0 lets unauthenticated attackers hijack the privileges of concurrently-act
Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the database with a single Web
Denial of service in SurrealDB before 3.1.0 lets an unauthenticated remote attacker crash the entire database process wi
Session hijacking in SurrealDB before 3.1.0 lets unauthenticated attackers enumerate attached session UUIDs through the
SurrealDB versions before 3.3.0 fail to validate a caller's authorization level when the SurrealQL USE statement switche
Cross-tenant data access in SurrealDB before 3.3.0 allows an authenticated namespace- or database-level SYSTEM user to b
Cross-tenant authorization bypass in SurrealDB before 3.2.0 lets any authenticated user reach custom API endpoints belon
Arbitrary file read in SurrealDB before 3.1.5 lets an authenticated database user holding the EDITOR or OWNER role discl
Confused-deputy privilege escalation in SurrealDB before 2.5.0 and before 3.0.0-beta.3 lets a low-privileged user (e.g.
Denial of service in SurrealDB before 3.1.5 lets an authenticated user with query-execution privileges crash the entire
Denial of service in SurrealDB versions before 3.3.0 lets a query-capable authenticated user with embedded JavaScript sc
EUVD-2026-97644
GHSA-6872-82p6-5gmv
NVD
CVE.org
EPSS
Exploit-DB