CVE-2026-63762: SurrealDB before v2.6.1 Denial of Service via scripting
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rquickjs dependencyto a version that resolves this vulnerability.Fixed in v0.11.0 - Configuration
Ensure --allow-scripting is disabled unless required, since the embedded JavaScript scripting engine is enabled via this capability (disabled by default).
SurrealDB --allow-scripting capability = disabled (do not enable) - Operational
After updating rquickjs (v0.9.0 -> v0.11.0) and/or applying the SurrealDB upgrade, manually restart the server because the vulnerable process may terminate immediately without a graceful shutdown.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-63762?
The severity of CVE-2026-63762 is medium with a CVSS score of 6.
What vulnerability does CVE-2026-63762 describe?
CVE-2026-63762 describes a denial of service vulnerability in SurrealDB's embedded JavaScript scripting engine.
How do I fix CVE-2026-63762?
To fix CVE-2026-63762, upgrade SurrealDB to version 2.6.1 or later.
Who is affected by CVE-2026-63762?
Any user able to execute arbitrary queries on SurrealDB, including unauthenticated guests, is affected by CVE-2026-63762.
What version of SurrealDB is vulnerable to CVE-2026-63762?
SurrealDB versions before 2.6.1 and before 3.0.0-beta.3 are vulnerable to CVE-2026-63762.