FKIE_CVE-2026-63762

Vulnerability from fkie_nvd - Published: 2026-07-20 12:19 - Updated: 2026-07-22 19:41
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.

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:cargo/SurrealDB",
          "product": "surrealdb",
          "vendor": "surrealdb",
          "versions": [
            {
              "lessThan": "2.6.1",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "2.6.1",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:cargo/SurrealDB",
          "product": "surrealdb",
          "vendor": "surrealdb",
          "versions": [
            {
              "lessThan": "3.0.0-beta.3",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "3.0.0-beta.3",
              "versionType": "semver"
            }
          ]
        }
      ],
      "source": "disclosure@vulncheck.com"
    }
  ],
  "configurations": [
    {
      "nodes": [
        {
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*",
              "matchCriteriaId": "B66E7C8C-AD8B-4D26-A0A2-EFD889526306",
              "versionEndExcluding": "2.6.1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha1:*:*:*:*:*:*",
              "matchCriteriaId": "83C6C6C1-EEC9-439D-AC9D-C0693BFF5E1D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha10:*:*:*:*:*:*",
              "matchCriteriaId": "3860DB8A-97D5-424B-B1AE-81744820288C",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha11:*:*:*:*:*:*",
              "matchCriteriaId": "0A14ADE8-2ED8-4FC1-88A5-0B10F4AA433A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha12:*:*:*:*:*:*",
              "matchCriteriaId": "FE814CC4-38DB-4DB3-9A01-D4A0E04A1D5F",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha13:*:*:*:*:*:*",
              "matchCriteriaId": "ECB711FC-3F98-4FB7-8C1E-251F6596A542",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha14:*:*:*:*:*:*",
              "matchCriteriaId": "A3B9151B-92C0-43C7-A9B3-C0259F8190E8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha16:*:*:*:*:*:*",
              "matchCriteriaId": "021C19BF-6F23-44F9-B4EF-D666C7489A16",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha17:*:*:*:*:*:*",
              "matchCriteriaId": "D35718FE-7E51-4A5A-8DA5-FB6B9C86853A",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha18:*:*:*:*:*:*",
              "matchCriteriaId": "2225B4F4-3EC0-493C-B9ED-CED81C0C01D1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha2:*:*:*:*:*:*",
              "matchCriteriaId": "71C5581F-1FEA-4DA3-9130-C2E75DDF71F1",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha3:*:*:*:*:*:*",
              "matchCriteriaId": "C3F9C2A9-699D-4C82-B215-837513CC2760",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha4:*:*:*:*:*:*",
              "matchCriteriaId": "16E5D9C2-AAA5-4BC1-9BA8-C827336B0CAC",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha5:*:*:*:*:*:*",
              "matchCriteriaId": "280BECEF-32D8-4A57-A083-FD70CAEB98A8",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha6:*:*:*:*:*:*",
              "matchCriteriaId": "A589A4EF-EF41-4527-A3C8-68420E361F3D",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha7:*:*:*:*:*:*",
              "matchCriteriaId": "1736B735-8761-4E2F-95D9-D9ACA4789676",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha8:*:*:*:*:*:*",
              "matchCriteriaId": "871B8B8F-83B0-49A9-848B-D15D5D4B4B05",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha9:*:*:*:*:*:*",
              "matchCriteriaId": "F07CDC5E-E692-4C56-95C1-140255860858",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:beta1:*:*:*:*:*:*",
              "matchCriteriaId": "DB76E7FF-77B1-43E1-A77B-49871C96D202",
              "vulnerable": true
            },
            {
              "criteria": "cpe:2.3:a:surrealdb:surrealdb:3.0.0:beta2:*:*:*:*:*:*",
              "matchCriteriaId": "5D69592F-488E-4373-B03C-1D44B646AB2C",
              "vulnerable": true
            }
          ],
          "negate": false,
          "operator": "OR"
        }
      ]
    }
  ],
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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 \u2014 including unauthenticated guests when --allow-guests is enabled \u2014 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."
    }
  ],
  "id": "CVE-2026-63762",
  "lastModified": "2026-07-22T19:41:01.317",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 6.5,
          "baseSeverity": "MEDIUM",
          "confidentialityImpact": "NONE",
          "integrityImpact": "NONE",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 3.6,
        "source": "nvd@nist.gov",
        "type": "Primary"
      }
    ],
    "cvssMetricV40": [
      {
        "cvssData": {
          "Automatable": "NOT_DEFINED",
          "Recovery": "NOT_DEFINED",
          "Safety": "NOT_DEFINED",
          "attackComplexity": "LOW",
          "attackRequirements": "PRESENT",
          "attackVector": "NETWORK",
          "availabilityRequirement": "NOT_DEFINED",
          "baseScore": 6.0,
          "baseSeverity": "MEDIUM",
          "confidentialityRequirement": "NOT_DEFINED",
          "exploitMaturity": "NOT_DEFINED",
          "integrityRequirement": "NOT_DEFINED",
          "modifiedAttackComplexity": "NOT_DEFINED",
          "modifiedAttackRequirements": "NOT_DEFINED",
          "modifiedAttackVector": "NOT_DEFINED",
          "modifiedPrivilegesRequired": "NOT_DEFINED",
          "modifiedSubAvailabilityImpact": "NOT_DEFINED",
          "modifiedSubConfidentialityImpact": "NOT_DEFINED",
          "modifiedSubIntegrityImpact": "NOT_DEFINED",
          "modifiedUserInteraction": "NOT_DEFINED",
          "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
          "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
          "modifiedVulnIntegrityImpact": "NOT_DEFINED",
          "privilegesRequired": "LOW",
          "providerUrgency": "NOT_DEFINED",
          "subAvailabilityImpact": "NONE",
          "subConfidentialityImpact": "NONE",
          "subIntegrityImpact": "NONE",
          "userInteraction": "NONE",
          "valueDensity": "NOT_DEFINED",
          "vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
          "version": "4.0",
          "vulnAvailabilityImpact": "HIGH",
          "vulnConfidentialityImpact": "NONE",
          "vulnIntegrityImpact": "NONE",
          "vulnerabilityResponseEffort": "NOT_DEFINED"
        },
        "source": "disclosure@vulncheck.com",
        "type": "Secondary"
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-63762",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "partial"
            }
          ],
          "role": "CISA Coordinator",
          "timestamp": "2026-07-21T15:10:28.959578Z",
          "version": "2.0.3"
        }
      }
    ]
  },
  "published": "2026-07-20T12:19:46.477",
  "references": [
    {
      "source": "disclosure@vulncheck.com",
      "tags": [
        "Mitigation",
        "Vendor Advisory"
      ],
      "url": "https://github.com/surrealdb/surrealdb/security/advisories/GHSA-xx7m-69ff-9crp"
    },
    {
      "source": "disclosure@vulncheck.com",
      "tags": [
        "Third Party Advisory"
      ],
      "url": "https://www.vulncheck.com/advisories/surrealdb-before-denial-of-service-via-scripting"
    }
  ],
  "sourceIdentifier": "disclosure@vulncheck.com",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-476"
        }
      ],
      "source": "disclosure@vulncheck.com",
      "type": "Secondary"
    }
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…