# CVE-2026-63762: SurrealDB denial of service in JavaScript scripting engine

Source: https://junglewise.ai/threats/cve-2026-63762-surrealdb-denial-of-service-in-javascript-scripting-engine  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-20. Updated: 2026-07-20  
License: CC BY 4.0 with a link back

CVE-2026-63762 · Severity: medium · CVSS 4 · Published 2026-07-20

SurrealDB is a multi-model database used for managing and querying application data. A vulnerability in its optional JavaScript scripting engine allows an attacker to crash the database server by sending a specially crafted query. This results in an immediate service outage that requires a manual restart to restore operations.

Technologies: [surrealdb (crates.io)](https://junglewise.ai/threats/technologies/surrealdb). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2026-63762 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-63762 being exploited in the wild.

**How severe is CVE-2026-63762?** Medium severity, with a CVSS score of 4, published 20 July 2026.

**Which products and versions are affected?** surrealdb (crates.io) SEMVER:introduced=0,fixed=2.6.1.

**Is there a fix for CVE-2026-63762?** Yes. surrealdb (crates.io): upgrade to 2.6.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-63762 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-63762?** Check whether you run surrealdb (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- surrealdb (crates.io): upgrade to 2.6.1 or later

  ```sh
  cargo update -p surrealdb
  ```


## Technical details

A NULL pointer dereference exists in the QuickJS-NG engine used by SurrealDB's embedded JavaScript runtime. The vulnerability is reachable when the --allow-scripting flag is enabled. An attacker with query execution privileges (which may include unauthenticated guests if --allow-guests is active) can use built-in string functions to construct an oversized string. When this string is passed to the JavaScript runtime for compilation, it triggers a crash in the underlying rquickjs dependency (v0.9.0). The issue was resolved by updating rquickjs to v0.11.0. Administrators can mitigate the risk by using the --deny-scripting flag.

## Affected products

- SurrealDB SurrealDB < v2.6.1, < v3.0.0-beta.3

## Identifiers

- CVE-2026-63762
- GHSA-xx7m-69ff-9crp

## Timeline

- 2026-02-12: advisory: GitHub Security Advisory published
- 2026-07-20: disclosed: NVD publication date

## References

- [https://github.com/surrealdb/surrealdb/security/advisories/GHSA-xx7m-69ff-9crp](https://github.com/surrealdb/surrealdb/security/advisories/GHSA-xx7m-69ff-9crp)
- [https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-scripting](https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-scripting)

## Related threats

- [SurrealDB use-after-free in KV backends via affinitypool spawn_local](https://junglewise.ai/threats/cve-2026-121417-surrealdb-before-3-3-0-contains-a-use-after-free-vulnerability)
- [SurrealDB JSON parser denial of service via uncontrolled recursion](https://junglewise.ai/threats/surrealdb-json-parser-denial-of-service-via-uncontrolled-recursion-3037f8a0)
- [SurrealDB ES512 algorithm silently downgraded to ES384](https://junglewise.ai/threats/surrealdb-es512-algorithm-silently-downgraded-to-es384-f0af29b8)
- [SurrealDB permission bypass via WHERE clause evaluation](https://junglewise.ai/threats/surrealdb-permission-bypass-via-where-clause-evaluation-afa6f001)
- [SurrealDB authorization bypass in KILL statement](https://junglewise.ai/threats/surrealdb-authorization-bypass-in-kill-statement-fc230d0f)
