Skip to main content

SurrealDB CVE-2026-63754

| EUVDEUVD-2026-45925 HIGH
Improper Check for Unusual or Exceptional Conditions (CWE-754)
2026-07-20 disclosure@vulncheck.com GHSA-grg2-m369-7vhm
7.1
CVSS 4.0 · Vendor: vulncheck
Share

Severity by source

Vendor (vulncheck) PRIMARY
7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
7.7 HIGH

Network-reachable, low-complexity attack needing only low-privilege select access (PR:L); pure availability DoS (A:H, C/I:N), and S:C because a low-privilege user impacts writes for root and all other users.

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

Primary rating from Vendor (vulncheck).

CVSS VectorVendor: vulncheck

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

4
Patch available
Jul 20, 2026 - 15:33 EUVD
Source Code Evidence Fetched
Jul 20, 2026 - 12:35 vuln.today
Analysis Generated
Jul 20, 2026 - 12:35 vuln.today
CVE Published
Jul 20, 2026 - 12:19 cve.org
HIGH 7.1

DescriptionCVE.org

SurrealDB versions before 3.1.0 contain a denial of service vulnerability where malicious LIVE queries with WHERE clauses that evaluate to errors cause all CREATE, UPDATE, and DELETE operations on the watched table to fail. An authenticated user with only select permission can prevent write operations on a table for any user, including root, by registering a LIVE query that triggers evaluation errors until the query is killed or the session ends.

AnalysisAI

Denial of service in SurrealDB before 3.1.0 allows an authenticated user holding only 'select' permission on a table to indefinitely block all CREATE, UPDATE, and DELETE operations on that table for every other user - including root. By registering a LIVE query whose WHERE clause deterministically throws an evaluation error (e.g. calling a typed SurrealQL function with a wrong-typed argument), the resulting error propagates into the write path and rolls back the triggering modification. No public exploit identified at time of analysis, but the technique is fully documented in the vendor's GHSA advisory.

Technical ContextAI

SurrealDB is a multi-model (document/graph/relational) database written in Rust that supports LIVE queries - persistent subscriptions that notify clients when records on a watched table change. When a write occurs, the engine evaluates each registered LIVE query's WHERE clause (lq_check) to decide whether to emit a notification. The root cause is CWE-754 (Improper Check for Unusual or Exceptional Conditions): an error returned by the LIVE query's WHERE evaluation was not isolated from the source transaction, so the exception thrown inside the notification path propagated back to and aborted the user's write. An attacker weaponizes this by supplying a WHERE clause guaranteed to throw at evaluation time, such as passing a wrong-typed value into a strongly-typed function like string::trim(deny). Per the Rust crate metadata (rust/surrealdb), all versions < 3.1.0 are affected.

RemediationAI

Vendor-released patch: upgrade to SurrealDB 3.1.0 or later, which decouples LIVE query evaluation errors from the source transaction (an erroring WHERE clause now yields an Action::Error notification to the subscriber and returns Ok(()) so the triggering write proceeds) and defers that error notification until after the LIVE subscription's PERMISSIONS clause is evaluated to close an information-disclosure side channel. The fix corresponds to commits af835eb199ad2327a04c42101d11aff21fce7e47 and b29e03f0714d1c4ec091fc6f27f1edbe243b8aec. For users who cannot upgrade, the vendor-recommended workaround is to remove the 'select' permission on tables that must remain writeable, which prevents untrusted users from registering LIVE queries against them - at the cost of denying those users legitimate read access - or to gate LIVE query registration at the application layer, which requires application-side enforcement and does not protect direct database sessions. Reference the GHSA advisory at https://github.com/surrealdb/surrealdb/security/advisories/GHSA-4v76-cw68-4vc9.

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-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-2025-71397 HIGH
7.1 Jul 18

Denial of service in SurrealDB before 2.0.5, 2.1.x before 2.1.5, and 2.2.x before 2.2.2 lets an authenticated user with

CVE-2026-63746 HIGH
7.1 Jul 20

Information disclosure in SurrealDB before 3.1.0 allows authenticated record or scope users to bypass table-level SELECT

CVE-2025-71391 HIGH
7.1 Jul 18

Denial of service in SurrealDB before 2.2.2 allows any authenticated user to crash the database by submitting a crafted

Share

CVE-2026-63754 vulnerability details – vuln.today

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