SurrealDB before v2.6.1 Denial of Service via scripting
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-63762
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:11 UTC · Revision 1
Source evidence
SurrealDB before v2.6.1 Denial of Service via scripting
core-osv · Original sourcePublished 20 Jul 2026, 12:04 UTC
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.
osv:CVE-2026-63762
Complete source record
{
"id": "a5051dd3d4dfbe6ba929e93702af677084032f2ba72d43d347b4ce3ea8df79e7",
"url": "https://osv.dev/vulnerability/CVE-2026-63762",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "SurrealDB before v2.6.1 Denial of Service via scripting",
"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.",
"evidence": "osv:CVE-2026-63762",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-63762",
"aliases": [
"CVE-2026-63762",
"GHSA-xx7m-69ff-9crp"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/surrealdb/surrealdb",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "0dee3af0083916e599aaaf989de8c02679a401be"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "2.6.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v2.6.0",
"v2.5.0",
"v2.4.1",
"v2.4.0",
"v2.3.10",
"v2.3.9",
"v2.3.8",
"v2.3.5",
"v2.3.4",
"v2.3.2",
"v2.3.1",
"v2.3.0",
"v2.0.4",
"v2.2.0",
"v2.1.2",
"v2.1.1",
"v2.1.0",
"v2.0.3",
"v2.0.2",
"v2.0.1",
"v2.0.0",
"v2.0.0-beta.3",
"v2.0.0-beta.2",
"v2.0.0-beta.1",
"v2.0.0-alpha.9",
"v2.0.0-alpha.8",
"v2.0.0-alpha.7",
"v2.0.0-alpha.6",
"v2.0.0-alpha.5",
"v2.0.0-alpha.4",
"v2.0.0-alpha.3",
"v2.0.0-alpha.2",
"v2.0.0-alpha.1",
"v1.0.0",
"v1.0.0-beta.12",
"v1.0.0-beta.11",
"v1.0.0-beta.10",
"v1.0.0-beta.9+20230402",
"v1.0.0-beta.9",
"v1.0.0-beta.8",
"v1.0.0-beta.7",
"v1.0.0-beta.6",
"v1.0.0-beta.5",
"v1.0.0-beta.4",
"v1.0.0-beta.3",
"v1.0.0-beta.2",
"v1.0.0-beta.1",
"v0.3.0",
"v0.1.30",
"v0.1.29",
"v0.1.28",
"v0.1.27",
"v0.1.26",
"v0.1.25",
"v0.1.24",
"v0.1.23",
"v0.1.22",
"v0.1.21",
"v0.1.20",
"v0.1.19",
"v0.1.18",
"v0.1.17",
"v0.1.16",
"v0.1.15",
"v0.1.14",
"v0.1.13",
"v0.1.12",
"v0.1.11",
"v0.1.10",
"v0.1.9",
"v0.1.8",
"v0.1.7",
"v0.1.6",
"v0.1.5",
"v0.1.4",
"v0.1.3",
"v0.1.2",
"v0.1.1",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-63762.json"
}
}
],
"modified": "2026-10-28T02:30:21.486015002Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63762.json",
"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-xx7m-69ff-9crp",
"https://nvd.nist.gov/vuln/detail/CVE-2026-63762",
"https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-scripting"
],
"provider_metadata": {
"cwe_ids": [
"CWE-476"
],
"cna_assigner": "VulnCheck",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63762.json"
}
},
"related_cves": [
{
"value": "CVE-2026-63762",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 487572,
"published_at": "2026-07-20T12:04:51.673+00:00"
}