CVE-2026-63762

Summary

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

VendorProductVersion RangeStatus
surrealdbsurrealdb0 < 2.6.1affected
surrealdbsurrealdb2.6.1unaffected
surrealdbsurrealdb0 < 3.0.0-beta.3affected
surrealdbsurrealdb3.0.0-beta.3unaffected

Weaknesses

  • CWE-476: NULL Pointer Dereference

References