FKIE_CVE-2026-63763

Vulnerability from fkie_nvd - Published: 2026-07-20 12:19 - Updated: 2026-07-22 19:40
Summary
SurrealDB before 2.5.0 and before 3.0.0-beta.3 contains a confused deputy privilege escalation vulnerability. Unprivileged users (e.g., those with the database editor role) can create or modify fields containing futures, functions, or closures. Because these are executed in the context of the invoking/querying user rather than their creator, an attacker can plant malicious logic that executes with a higher-privileged user's permissions when that user reads or writes the affected record. This can lead to full privilege escalation, including creation of a root owner and server takeover.

{
  "affected": [
    {
      "affectedData": [
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:cargo/surrealdb",
          "product": "surrealdb",
          "vendor": "surrealdb",
          "versions": [
            {
              "lessThan": "2.5.0",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "2.5.0",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:cargo/surrealdb",
          "product": "surrealdb",
          "vendor": "surrealdb",
          "versions": [
            {
              "lessThan": "3.0.0-beta.3",
              "status": "affected",
              "version": "3.0.0-alpha.1",
              "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": "981D26FA-F1A9-4A13-ACFC-C0964FE2C1A2",
              "versionEndExcluding": "2.5.0",
              "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 2.5.0 and before 3.0.0-beta.3 contains a confused deputy privilege escalation vulnerability. Unprivileged users (e.g., those with the database editor role) can create or modify fields containing futures, functions, or closures. Because these are executed in the context of the invoking/querying user rather than their creator, an attacker can plant malicious logic that executes with a higher-privileged user\u0027s permissions when that user reads or writes the affected record. This can lead to full privilege escalation, including creation of a root owner and server takeover."
    }
  ],
  "id": "CVE-2026-63763",
  "lastModified": "2026-07-22T19:40:00.720",
  "metrics": {
    "cvssMetricV31": [
      {
        "cvssData": {
          "attackComplexity": "LOW",
          "attackVector": "NETWORK",
          "availabilityImpact": "HIGH",
          "baseScore": 8.8,
          "baseSeverity": "HIGH",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "privilegesRequired": "LOW",
          "scope": "UNCHANGED",
          "userInteraction": "NONE",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
          "version": "3.1"
        },
        "exploitabilityScore": 2.8,
        "impactScore": 5.9,
        "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": 7.5,
          "baseSeverity": "HIGH",
          "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": "PASSIVE",
          "valueDensity": "NOT_DEFINED",
          "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/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": "HIGH",
          "vulnIntegrityImpact": "HIGH",
          "vulnerabilityResponseEffort": "NOT_DEFINED"
        },
        "source": "disclosure@vulncheck.com",
        "type": "Secondary"
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-63763",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "timestamp": "2026-07-20T15:44:33.534497Z",
          "version": "2.0.3"
        }
      }
    ]
  },
  "published": "2026-07-20T12:19:46.623",
  "references": [
    {
      "source": "disclosure@vulncheck.com",
      "tags": [
        "Mitigation",
        "Vendor Advisory"
      ],
      "url": "https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3v2x-9xcv-2v2v"
    },
    {
      "source": "disclosure@vulncheck.com",
      "tags": [
        "Third Party Advisory"
      ],
      "url": "https://www.vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-future-fields"
    }
  ],
  "sourceIdentifier": "disclosure@vulncheck.com",
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "CWE-639"
        }
      ],
      "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…