Skip to main content

SurrealDB CVE-2026-63734

| EUVDEUVD-2026-45905 MEDIUM
Improper Input Validation (CWE-20)
2026-07-20 disclosure@vulncheck.com GHSA-vm8f-3v3v-fhw4
6.9
CVSS 4.0 · Vendor: vulncheck
View

Attack ChainAIDerived

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

  1. Access
    Obtain or compromise SurrealDB Owner-role credentials
  2. Delivery
    Craft .surml file with non-numeric input-dimensions header
  3. Exploit
    POST malformed file to /ml/import endpoint
  4. Execution
    Header parser calls unwrap() on invalid numeric parse
  5. Persist
    Rust panic aborts server process
  6. Impact
    Complete denial of service for all databases on the instance

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation, allowlisting
Exploitation Conditions

Exploitation requires: (1) a valid SurrealDB Owner-role account - the highest privilege tier in SurrealDB, confirmed by PR:H in the CVSS 4.0 vector - obtained through legitimate access, insider threat, or credential compromise; (2) network access to the /ml/import HTTP endpoint on the target SurrealDB instance; (3) SurrealDB version prior to 3.2.0. The malformed .surml file must supply non-numeric values in the input-dimensions header field or similarly invalid data in other header fields parsed by the vulnerable code path. Standard user or editor roles are not sufficient - exploitation is strictly limited to Owner-role principals. No special non-default configuration of SurrealDB is required beyond having the SurrealML endpoint reachable. Exploitation is NOT possible without Owner-role credentials, limiting realistic threat actors to insiders and attackers who have already achieved high-privilege account compromise.

Impact

The CVSS 4.0 score of 6.9 with PR:H accurately captures the constrained but reliable threat model: exploitation requires Owner-level credentials - the highest SurrealDB privilege tier - which substantially limits the realistic attack surface to insiders, compromised privileged accounts, or post-escalation scenarios. Once that access is obtained, however, the attack is trivially reliable (AC:L, AT:N, UI:N), requires no special configuration, and produces a complete process abort affecting all databases on the instance simultaneously. This high blast radius in multi-tenant or shared-infrastructure deployments elevates real-world concern beyond what the mid-range score alone implies. No EPSS score was available in the provided intelligence, and the vulnerability is not listed in CISA KEV, with no public exploit code referenced in any source - indicating no public exploit identified at time of analysis. The primary realistic threat is an insider threat or a credential-compromise scenario targeting shared SurrealDB deployments. For single-tenant, strictly access-controlled deployments where Owner credentials are tightly managed, practical risk is low. For multi-team or multi-customer instances, a single malicious or compromised Owner can cause a full outage.

Exploit ScenarioDerived

An authenticated SurrealDB Owner-role user crafts a .surml file in which the input-dimensions header field contains a non-numeric string value, then submits it via HTTP POST to the /ml/import endpoint of an unpatched SurrealDB instance. The header parser passes the raw string to a numeric parser and calls unwrap() on the result without catching the error; the resulting Rust panic propagates uncaught and aborts the server process, taking all databases offline. No public exploit code has been identified at time of analysis, but the attack requires only knowledge of the SurrealML file format and a valid Owner credential.

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 – Jul 20, 2026

Denial of service in SurrealDB's SurrealML header parser allows an authenticated Owner-role user to crash the entire server process by uploading a malformed .surml file to the /ml/import endpoint. Non-numeric input-dimensions or other invalid header fields trigger unchecked Rust unwrap() calls, causing a process-aborting panic that denies service to all databases hosted on the affected instance simultaneously. No public exploit code has been identified at time of analysis; vendor-released patch is available in SurrealDB 3.2.0.

RemediationAI

The primary remediation is upgrading SurrealDB to version 3.2.0 or later, which resolves the unchecked unwrap calls in the SurrealML header parser. See the vendor advisory at https://github.com/surrealdb/surrealdb/security/advisories/GHSA-jwr6-6444-28xv and the VulnCheck report at https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-malformed-surrealml-import. For deployments that cannot immediately upgrade, block or restrict HTTP POST access to the /ml/import endpoint at the network perimeter or reverse-proxy layer (e.g., return 403 for POST /ml/import at the load balancer); this eliminates the attack surface entirely at the cost of disabling all ML model import operations. A secondary hardening measure is auditing and reducing Owner-role assignments to the minimum necessary principals, which limits the set of accounts that could trigger this vulnerability - though this does not mitigate the risk from legitimately privileged users. Note that restricting /ml/import at the proxy layer will break any legitimate SurrealML workflows until the patch is applied.

Affected VersionsENISA

surrealdb 0 <3.2.0

Affected Packages

euvd surrealdb fix: 3.2.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 system written in Rust that includes SurrealML - a feature for importing and executing machine learning models. The /ml/import HTTP endpoint accepts .surml files, a proprietary format containing model weights alongside structured metadata headers including input-dimensions (expected to be numeric). The root cause is CWE-20 (Improper Input Validation): the header parser applies Rust's .unwrap() to the result of parsing these header fields without prior validation. In Rust, an unwrap() on an Err or None value causes a panic; when this occurs on a server thread without proper catch handling, it aborts the entire server process. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N) confirms network reachability and high availability impact with no confidentiality or integrity impact. The fix in 3.2.0 is confirmed via GHSA-jwr6-6444-28xv.

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 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 4.9 MEDIUM

Network-accessible endpoint requires Owner-role authentication (PR:H); attack is low-complexity with no user interaction; impact is availability-only as the server process aborts with no scope change.

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

Lifecycle Timeline

1
Patch available
Jul 20, 2026 - 15:33 EUVD

DescriptionCVE.org

SurrealDB versions before 3.2.0 contain a denial of service vulnerability in the SurrealML header parser that allows authenticated Owner-role users to crash the server by uploading a malformed .surml file to the /ml/import endpoint. Attackers can supply non-numeric input-dimensions or other malformed header fields that trigger unchecked unwrap calls, causing a panic that aborts the entire server process and denies service to all databases.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Low
emerging open-source database, limited production enterprise footprint
Data Quality
6 sources
Confidence: High

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
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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

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-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-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-137490 HIGH
8.7 Nov 26

SurrealDB releases before 4.0.0 fail to check query capability inside the embedded JavaScript bridge, so a low-privilege

CVE-2026-134309 HIGH
8.7 Nov 21

SurrealDB 1.0.0 through 3.x lets an authenticated user with only the database-level VIEWER role read, modify, and delete

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

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