# CVE-2026-63762: SurrealDB before v2.6.1 Denial of Service via scripting

- Severity: Medium 6.0 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-02-12T22:11:48.000Z
- Modified: 2026-10-08T15:23:51.846Z
- Also known as: GHSA-xx7m-69ff-9crp
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: before 2.6.1; before 3.0.0-beta.3; 3.0.0 (not affected: 2.6.1; 3.0.0-beta.3)
- surrealdb (crates.io): before 2.6.1; from 3.0.0-alpha.8 before 3.0.0-beta.3

## Every score

- VulnCheck: CVSS:4.0 6.0 Medium `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`
- GitHub: CVSS:4.0 Medium `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-xx7m-69ff-9crp> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-scripting> (third-party-advisory)
- <https://github.com/surrealdb/surrealdb/pull/6774> (web)
- <https://github.com/surrealdb/surrealdb/pull/6833> (web)
- <https://github.com/surrealdb/surrealdb/commit/2b0389b92398d9ecff4632cd51bbf8303832a988> (web)
- <https://github.com/surrealdb/surrealdb/commit/bcd2ece9ef0d721215f06a47280698669f332285> (web)
- <https://github.com/surrealdb/surrealdb> (package)

## Sources

- CVE List: [CVE-2026-63762](https://www.cve.org/CVERecord?id=CVE-2026-63762), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-xx7m-69ff-9crp](https://github.com/advisories/GHSA-xx7m-69ff-9crp), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-63762](https://nvd.nist.gov/vuln/detail/CVE-2026-63762), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-63762 · Whole record: https://cve.day/CVE-2026-63762.json · Rebuilt by cve.day 2026-11-25T22:59:29.214Z
