CVE-2026-121423

SurrealDB before 3.3.0 DoS via Unbounded Recursion in val::Value Serialization

Published Nov 3, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
SurrealDB before 3.3.0 contains an unbounded recursion vulnerability that allows authenticated users to abort the surreald process by triggering stack overflow on deeply nested values. Attackers can repeatedly run UPDATE statements wrapping a stored array in itself, then SELECT or EXPORT it, causing persistent denial of service for all tenants.

Analysis

AI-generated

Technical impact

The vulnerability originates from an unbounded recursion in the val::Value serialization path of SurrealDB versions earlier than 3.3.0. When a deeply nested value is serialized, the recursion depth exceeds the process stack limit, causing a stack overflow that aborts the surreald service. This results in a denial of service that continuously prevents all database operations for every tenant.

Affected Systems

SurrealDB installations running any version prior to 3.3.0, regardless of the build type. All users who are authenticated and possess the ability to issue UPDATE statements that embed a stored array within itself or otherwise create deeply nested structures are potentially affected.

Risk and Exploitability

The CVSS score of 7.1 places this issue in the Medium to High severity range. The EPSS score is not available, and the vulnerability is not listed in the CISA KEV catalog. Attackers must be authenticated and have permission to execute UPDATE operations that nest a stored array within itself, then issue a SELECT or EXPORT. Once triggered, the service is irrecoverably stopped until a restart, causing a persistent outage for all tenants.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade SurrealDB to version 3.3.0 or later, where the recursion guard has been implemented.
  • Restrict UPDATE permissions for untrusted users or enforce role‑based access controls that prevent nesting of arrays or deeply recursive structures.
  • Monitor query logs for anomalously deep or nested data structures and temporarily block or rate‑limit such operations until the patch is applied.

Generated by OpenCVE AI on November 3, 2026 at 16:14 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description SurrealDB before 3.3.0 contains an unbounded recursion vulnerability that allows authenticated users to abort the surreald process by triggering stack overflow on deeply nested values. Attackers can repeatedly run UPDATE statements wrapping a stored array in itself, then SELECT or EXPORT it, causing persistent denial of service for all tenants.
Title SurrealDB before 3.3.0 DoS via Unbounded Recursion in val::Value Serialization
First Time appeared Surrealdb
Surrealdb surrealdb
Weaknesses CWE-674
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Vendors & Products Surrealdb
Surrealdb surrealdb
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 7.1, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 9, 2026, 2:52 PM
Reserved
Nov 3, 2026, 12:29 PM
Status
Deferred
Published
Nov 3, 2026, 3:17 PM
Modified
Nov 9, 2026, 3:17 PM