Skip to main content

SurrealDB EUVDEUVD-2026-132248

| CVE-2026-134310 HIGH
Incorrect Authorization (CWE-863)
2026-11-21 VulnCheck GHSA-f33w-ppch-pjc9
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 via record access
  2. Delivery
    Target table gated by COMPUTED-field update predicate
  3. Exploit
    Send UPDATE to protected row
  4. Execution
    Predicate reads NONE and passes
  5. Impact
    Modify 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 PERMISSIONS FOR update predicate of the Permission::Specific form that references a COMPUTED field intended to deny the caller (the advisory cites patterns like WHERE blocked != true, WHERE is_archived != true, or computed status/ownership checks). The attacker need not know or read the computed value - the predicate degenerates to NONE <cmp> <literal>. LIMITING FACTORS: tables with Permission::Full or Permission::None are unaffected, and predicates referencing only plain stored fields correctly deny (those values are present in self.current at check time), so exposure is confined to this non-default computed-field permission pattern; affected versions are SurrealDB 3.2.0 through 3.3.3 (dynamically verified lower bound v3.2.0), fixed in 3.3.4.

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 PERMISSIONS FOR update predicate that references a COMPUTED field (Permission::Full/None and plain-field predicates are unaffected). Against that specific pattern, however, the deny guard fails open on every write, and a self-checking proof-of-concept in the GHSA advisory reproduces the bypass reliably (4/4 checks on the official v3.2.0 binary and v3.3.0-nightly). Net: prioritize patching for any deployment using computed-field update permissions within the 'this_week' window; the lack of KEV/EPSS data means wild-exploitation likelihood is unverified, not disproven.

Exploit ScenarioDerived

An attacker holding a low-privilege record-access account targets a table whose PERMISSIONS FOR update predicate is meant to deny them via a COMPUTED field (e.g. WHERE blocked != true where blocked is COMPUTED TRUE). Because the predicate is evaluated before the computed field is materialized, the field reads as NONE, the deny predicate passes, and the attacker's UPDATE modifies the protected row. A self-contained, dynamically reproduced proof-of-concept script is published in the GHSA advisory; attack complexity is low (AC:L) and no user interaction is required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

surrealdb 3.2.0 <3.3.4

Affected Packages

euvd surrealdb fix: 3.3.4

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

Vendor (VulnCheck) PRIMARY 7.1 HIGH
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
vuln.today AI 6.5 MEDIUM

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/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
None
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Nov 21, 2026 - 18:02 EUVD
CVE Published
Nov 21, 2026 - 16:34 cve.org
HIGH 7.1

DescriptionCVE.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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch: upgrade to SurrealDB 3.3.4.

Threat Intelligence Overview

EPSS Score
0.4%
Top 62% exploitable
Prevalence
Low
emerging open-source multi-model database, limited enterprise production footprint
Data Quality
4 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.4%
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-134292 CRITICAL
9.3 Nov 21

SurrealDB versions 1.0.0 through 3.x (before 4.0.0) fail to enforce built-in function capability checks inside the embed

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-134293 HIGH
8.8 Nov 21

SQL injection in the Model Context Protocol (MCP) server component of SurrealDB 3.1.0 through 3.x (fixed in 4.0.0) allow

CVE-2026-121417 HIGH
8.8 Nov 03

Use-after-free in SurrealDB Core before 3.3.0 can crash or corrupt memory in Rust applications that embed the database a

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-134291 HIGH
8.7 Nov 21

Filesystem bucket path traversal in SurrealDB 3.0.0 before 4.0.0 allows an attacker with bucket-operation access to read

CVE-2026-134294 HIGH
8.7 Nov 21

Cross-bucket file disclosure and modification on Windows affects SurrealDB versions 3.0.0 up to but not including 4.0.0

CVE-2026-134295 HIGH
8.7 Nov 21

Authenticated tenants of SurrealDB 3.0.0 through 3.x can escape key-based ACL boundaries in direct filesystem buckets an

CVE-2026-134299 HIGH
8.7 Nov 21

Memory exhaustion in SurrealDB 3.0.4 through 3.x lets unauthenticated remote clients pin up to 64 MiB of in-flight WebSo

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