CVE-2026-63762 PUBLISHED

SurrealDB before v2.6.1 Denial of Service via scripting

Assigner: VulnCheck
Reserved: 18.07.2026 Published: 20.07.2026 Updated: 20.07.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
CVSS Score: 6

Product Status

Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.6.1 (excl.)
  • Version 2.6.1 is unaffected
Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 3.0.0-beta.3 (excl.)
  • Version 3.0.0-beta.3 is unaffected

Credits

  • LucyEgan reporter

References

Problem Types

  • NULL Pointer Dereference CWE