# CVE-2026-63763: SurrealDB before 2.5.0 Privilege Escalation via Future Fields

- Severity: High 7.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-01-22T18:06:15.000Z
- Modified: 2026-07-28T01:05:52.965Z
- Also known as: GHSA-3v2x-9xcv-2v2v
- Weaknesses: CWE-441, CWE-639
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: before 2.5.0; from 3.0.0-alpha.1 before 3.0.0-beta.3; 3.0.0 (not affected: 2.5.0; 3.0.0-beta.3)
- surrealdb (crates.io): before 2.5.0; from 3.0.0-alpha.1 before 3.0.0-beta.3

## Every score

- VulnCheck: CVSS:4.0 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`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3v2x-9xcv-2v2v> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-future-fields> (third-party-advisory)
- <https://github.com/surrealdb/surrealdb/commit/f515c91363ee735aa1bc08580d9e7fa0de6e736f> (web)
- <https://github.com/surrealdb/surrealdb> (package)
- <https://github.com/surrealdb/surrealdb/releases/tag/v2.5.0> (web)
- <https://github.com/surrealdb/surrealdb/releases/tag/v3.0.0-beta.2> (web)

## Sources

- CVE List: [CVE-2026-63763](https://www.cve.org/CVERecord?id=CVE-2026-63763), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-3v2x-9xcv-2v2v](https://github.com/advisories/GHSA-3v2x-9xcv-2v2v), CC-BY-4.0, modified 2026-07-21
- NVD: [CVE-2026-63763](https://nvd.nist.gov/vuln/detail/CVE-2026-63763), Public domain, modified 2026-07-22

---

Page: https://cve.day/CVE-2026-63763 · Whole record: https://cve.day/CVE-2026-63763.json · Rebuilt by cve.day 2026-11-25T22:59:29.214Z
