SurrealDB before 2.5.0 Privilege Escalation via Future Fields
Summary
| CVE | CVE-2026-63763 |
|---|---|
| State | PUBLISHED |
| Assigner | VulnCheck |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-20 12:19:46 UTC |
| Updated | 2026-07-22 19:40:00 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v4.0 7.5 HIGH from [email protected]
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
EPSS: 0.002390000 probability, percentile 0.150480000 (date 2026-07-22)
Problem Types: CWE-639 | CWE-639 Authorization Bypass Through User-Controlled Key
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 7.5 | HIGH | 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/C... |
| 4.0 | CNA | CVSS | 7.5 | HIGH | 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 |
| 3.1 | [email protected] | Primary | 8.8 | HIGH | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
PresentPrivileges Required
LowUser Interaction
PassiveConfidentiality
HighIntegrity
HighAvailability
HighSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Surrealdb | Surrealdb | All | All | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha1 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha10 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha11 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha12 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha13 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha14 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha16 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha17 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha18 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha2 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha3 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha4 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha5 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha6 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha7 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha8 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | alpha9 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | beta1 | All | All |
| Application | Surrealdb | Surrealdb | 3.0.0 | beta2 | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Surrealdb | Surrealdb | affected 2.5.0 semver | Not specified |
| CNA | Surrealdb | Surrealdb | unaffected 2.5.0 semver | Not specified |
| CNA | Surrealdb | Surrealdb | affected 3.0.0-alpha.1 3.0.0-beta.3 semver | Not specified |
| CNA | Surrealdb | Surrealdb | unaffected 3.0.0-beta.3 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-future-f... | [email protected] | www.vulncheck.com | Third Party Advisory |
| github.com/surrealdb/surrealdb/security/advisories/GHSA-3v2x-9xcv-2v2v | [email protected] | github.com | Mitigation, Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: cure53 (en)
CNA: geraname (en)
There are currently no legacy QID mappings associated with this CVE.