CVE-2026-63762 Details
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.
A denial-of-service vulnerability has been identified in SurrealDB versions prior to 2.6.1 and 3.0.0-beta.3. The issue arises in the embedded JavaScript engine, QuickJS-NG, when the --allow-scripting option is enabled. Users who can execute arbitrary queries, including unauthenticated guests with --allow-guests activated, can exploit this vulnerability. The attack involves creating a large string using built-in string functions and sending it to the JavaScript runtime, causing a null pointer dereference that crashes the server process. This abrupt termination requires a manual restart of the SurrealDB instance.
Users can update SurrealDB to version 2.6.1 or 3.0.0-beta.3 or later, where this vulnerability has been patched by upgrading the rquickjs dependency to a version that uses an updated QuickJS-NG. Alternatively, users can disable scripting functions by starting SurrealDB with the --deny-scripting flag or the environment variable SURREAL_CAPS_DENY_SCRIPT=true. For versions prior to 2.6.1, administrators can also use the --deny-arbitrary-query option to restrict query execution by guest, record, or system users.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-xx7m-69ff-9crp | [email protected] | MitigationVendor Advisory |
| https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-scripting | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-476 | NULL Pointer Dereference | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| surrealdb surrealdb | < 2.6.1 3.0.0 alpha1 3.0.0 alpha10 3.0.0 alpha11 3.0.0 alpha12 3.0.0 alpha13 3.0.0 alpha14 3.0.0 alpha16 3.0.0 alpha17 3.0.0 alpha18 3.0.0 alpha2 3.0.0 alpha3 3.0.0 alpha4 3.0.0 alpha5 3.0.0 alpha6 3.0.0 alpha7 3.0.0 alpha8 3.0.0 alpha9 3.0.0 beta1 3.0.0 beta2 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | Initial Analysis | [email protected] |
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |