Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate via record access
-
DeliveryTarget table gated by COMPUTED-field update predicate
-
ExploitSend UPDATE to protected row
-
ExecutionPredicate reads NONE and passes
-
ImpactModify records that should be denied
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization logic validation
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 | Two concrete prerequisites, both drawn from the advisory: (1) the attacker must hold a SurrealDB record-access account (record user), consistent with CVSS PR:L; and (2) the target table must be protected by a |
| Impact | Severity signals converge on a genuine but scoped integrity issue rather than a universal emergency. The vendor CVSS 4.0 base is 7.1 (High) with AV:N/AC:L/AT:N/PR:L/UI:N and an integrity-only impact (VC:N/VI:H/VA:N), meaning a low-privileged, network-reachable record-access principal can reliably modify records they should be denied, with no confidentiality or availability effect. vuln.today's priority Decision label is 'this_week' - elevated but not 'act_now'/'emergency'. No CISA KEV entry is present, so there is no confirmed active exploitation, and no EPSS score was supplied, so the probability of in-the-wild exploitation cannot be quantified from this data. Counterbalancing the raw score: exploitation is NOT possible against arbitrary SurrealDB deployments - it only affects tables that gate writes with a Permission::Specific |
| Exploit ScenarioDerived | An attacker holding a low-privilege record-access account targets a table whose |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Authorization bypass in SurrealDB 3.2.0 through 3.3.3 allows a record-access user to modify rows that a table-level PERMISSIONS FOR update predicate was intended to protect, provided that predicate references a COMPUTED field. The permission gate evaluates the predicate against the document as loaded from storage, before computed fields are populated, so the computed value reads as NONE and deny-intended expressions such as blocked != true evaluate truthy and permit the write. Integrity impact only: the reporter embedded a self-contained reproduction script in the GHSA advisory and dynamically reproduced the bypass on the official v3.2.0 binary (with a plain-stored-field control that is correctly rejected); a public PoC reference therefore exists and is not independently verified as working exploit code by this analysis. The issue is fixed in 3.3.4 and is scoped to tables guarded by Permission::Specific update predicates that dereference computed fields.
RemediationAI
Vendor-released patch: upgrade SurrealDB to 3.3.4 or later (fixed version 3.3.4 per the field-level package data and the GHSA advisory at https://github.com/surrealdb/surrealdb/security/advisories/GHSA-f6h4-5xf2-86q9). Until upgrading, the advisory's own control case points to the practical compensating control: rewrite affected PERMISSIONS FOR update predicates so they reference plain stored fields rather than COMPUTED fields - persist the gate value as an ordinary field maintained by the application or by a server-side write path - since stored values are already present in self.current at permission-check time and the identical predicate then correctly rejects the caller; the trade-off is that the value is no longer derived automatically and must be kept in sync by your own logic, and any other schema or query that depends on the COMPUTED field's freshness is unaffected because only the permission predicate changes. Tables that use Permission::Full or Permission::None need no change, as no predicate is evaluated for them. Before relying on any computed-field predicate anywhere in the permission model, note that the shared process_permissions path also serves the CREATE, DELETE and SELECT gates, so predicates on those operations that read computed fields warrant the same review. Apply the 3.3.4 upgrade as the complete fix; the advisory frames the computed-field materialization change as the underlying correction, and the predicate-rewrite approach is a stopgap only for deployments that cannot upgrade immediately.
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 with a row-level permission system; table definitions can carry PERMISSIONS FOR update clauses of the form Permission::Specific(predicate), alongside Permission::Full and Permission::None. In the affected path, Document::update (surrealdb/core/src/doc/update.rs) invokes check_update_permissions at the very top of the operation, handing the document as loaded from storage (self.current) to process_permissions (core/src/doc/check.rs). Computed fields, however, are materialized later in the output stage by compute_fields (core/src/doc/compute.rs), so any COMPUTED field name inside the predicate resolves to NONE at check time and the comparison degenerates to NONE <cmp> <literal>, which is truthy for the deny patterns the advisory cites. The conditional recheck_update_permissions call after process_table_fields also evaluates against self.current, so the gate is not closed there. This is CWE-863 (incorrect authorization): an order-of-operations defect rather than a semantic design choice, proven by the reporter's control case in which the identical predicate over a plain stored field correctly rejects the update because that value is already present in self.current. process_permissions is shared by the CREATE, DELETE and SELECT permission gates (check_create_permissions, check_delete_permissions, check_select_permissions), so the same class of mis-evaluation can affect any permission predicate reading a computed field; the advisory's demonstrated surface is UPDATE. Tables governed by Permission::Full or Permission::None are unaffected because no predicate is evaluated.
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:H/VA:N/SC:N/SI:N/SA:N
A record-access account is required (PR:L) over the network API with no special timing (AV:N/AC:L); the flaw only lets an attacker modify protected rows, so I:H with C:N and A:N.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
2DescriptionCVE.org
SurrealDB from 3.2.0 before 3.3.4 contains an authorization bypass vulnerability that allows record users to update protected rows by exploiting table-level PERMISSIONS FOR update predicates referencing COMPUTED fields. Because check_update_permissions evaluates the predicate before computed fields are populated, the field reads as NONE and deny-intended predicates like blocked != true pass, letting attackers modify records.
Technical POC Analysis
CWE-863 (Incorrect Authorization) - a permission predicate is evaluated against a document that does not yet contain the values the predicate references.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
SurrealDB versions 3.2.0 through 3.3.3 contain an authorization bypass that allows record-access users to modify rows they should be blocked from updating when table-level update permissions reference computed fields. This undermines data integrity for any organization relying on SurrealDB's fine-grained access controls, potentially exposing protected data to unauthorized changes by insiders or compromised accounts.
Apply vendor patch: upgrade to SurrealDB 3.3.4.
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
SurrealDB versions 1.0.0 through 3.x (before 4.0.0) fail to enforce built-in function capability checks inside the embed
Privilege escalation in SurrealDB before v3.1.0 lets unauthenticated attackers hijack the privileges of concurrently-act
SQL injection in the Model Context Protocol (MCP) server component of SurrealDB 3.1.0 through 3.x (fixed in 4.0.0) allow
Use-after-free in SurrealDB Core before 3.3.0 can crash or corrupt memory in Rust applications that embed the database a
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
Filesystem bucket path traversal in SurrealDB 3.0.0 before 4.0.0 allows an attacker with bucket-operation access to read
Cross-bucket file disclosure and modification on Windows affects SurrealDB versions 3.0.0 up to but not including 4.0.0
Authenticated tenants of SurrealDB 3.0.0 through 3.x can escape key-based ACL boundaries in direct filesystem buckets an
Memory exhaustion in SurrealDB 3.0.4 through 3.x lets unauthenticated remote clients pin up to 64 MiB of in-flight WebSo
EUVD-2026-132248
GHSA-f33w-ppch-pjc9
NVD
CVE.org
EPSS
Exploit-DB