CVE-2026-63762

SurrealDB before v2.6.1 Denial of Service via scripting

State
Published
Severity
6.0 Medium
Published
Jul 20, 2026
Updated
Oct 8, 2026
Reserved
Jul 18, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.06.0 MediumCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NVulnCheck

Weaknesses

Affected Products

ProductVersions
surrealdbsurrealdb
  • before 2.6.1Affected
  • 2.6.1Not affected
surrealdbsurrealdb
  • before 3.0.0-beta.3Affected
  • 3.0.0-beta.3Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.