CVE-2026-63762

MEDIUM

SurrealDB before v2.6.1 Denial of Service via scripting

Title source: cna
STIX 2.1

Description

SurrealDB before v2.6.1 (and before v3.0.0-beta.3) contains a denial of service vulnerability in its embedded JavaScript scripting engine, which is enabled via the --allow-scripting capability (disabled by default). Any user able to execute arbitrary queries — including unauthenticated guests when --allow-guests is enabled — can use built-in string functions to construct a large string and pass it to the JavaScript runtime for compilation, triggering a null pointer dereference in the underlying QuickJS-NG engine. This causes the server process to terminate immediately without graceful shutdown, requiring a manual restart. The issue was fixed by updating the rquickjs dependency from v0.9.0 to v0.11.0.

References (2)

Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-xx7m-69ff-9crp)
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-xx7m-69ff-9crp
Third Party Advisory third-party-advisory
VulnCheck Advisory: SurrealDB before v2.6.1 Denial of Service via scripting
https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-scripting

Scores

CVSS v3 6.5
EPSS 0.0025
EPSS Percentile 17.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-476
Status published
Products (5)
surrealdb/surrealdb 3.0.0 alpha1 (19 CPE variants)
surrealdb/surrealdb < 2.6.1 (2 CPE variants)
surrealdb/surrealdb < 3.0.0-beta.3
surrealdb/surrealdb 2.6.1
surrealdb/surrealdb 3.0.0-beta.3
Published Jul 20, 2026
Tracked Since Jul 20, 2026