CVE-2026-63762
published medium CVSS 4.0 · 6.0SurrealDB before v2.6.1 Denial of Service via scripting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| surrealdb | — | surrealdb0 to < 2.6.1 (affected · semver) · 2.6.1 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| surrealdb | — | surrealdb0 to < 3.0.0-beta.3 (affected · semver) · 3.0.0-beta.3 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.0 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| surrealdb | surrealdb | 0 to < 2.6.1 (affected · semver)2.6.1 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| surrealdb | surrealdb | 0 to < 3.0.0-beta.3 (affected · semver)3.0.0-beta.3 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-476 NULL Pointer Dereference
References
2- GitHub Security Advisory (GHSA-xx7m-69ff-9crp) https://github.com/surrealdb/surrealdb/security/advisories/GHSA-xx7m-69ff-9crp
- VulnCheck Advisory: SurrealDB before v2.6.1 Denial of Service via scripting https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-scripting
Provider assertions
2VulnCheck · cna
SurrealDB before v2.6.1 Denial of Service via scripting
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5ebe544b600867838d9333b349e74beef4d5db0994b697b5be9945e99d445660
- Ingested
- 09 Oct 2026, 16:32:33 UTC
- Source record
- Official CVE record