Skip to main content
← All vulnerabilities
CVE-2026-63762GHSA-XX7M-69FF-9CRP

SurrealDB before v2.6.1 Denial of Service via scripting

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.6.1, 3.0.0-beta.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • surrealdb surrealdb

    fixed in 2.6.1

  • surrealdb surrealdb

    fixed in 3.0.0-beta.3

  • surrealdbcrates.io

    fixed in 2.6.1

  • surrealdbcrates.io

    From 3.0.0-alpha.8 · fixed in 3.0.0-beta.3

References 2

GitHub · surrealdb/surrealdb

vulncheck.com