Skip to content
OpenAdvisories
Medium · 6.0 CVE-2026-63762 EUVD-2026-45933GHSA-hxgc-2rvh-7h4rGHSA-xx7m-69ff-9crp

SurrealDB before v2.6.1 Denial of Service via scripting

Published Jul 20, 2026 · Updated Oct 8, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
surrealdb surrealdb < 2.6.1, < 3.0.0-beta.3 2.6.1

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io surrealdb < 2.6.1 2.6.1 GHSA-xx7m-69ff-9crp
crates.io surrealdb >= 3.0.0-alpha.8, < 3.0.0-beta.3 3.0.0-beta.3 GHSA-xx7m-69ff-9crp

References