CVE-2026-63763Published Jul 20, 2026 · Jul 20Updated Oct 28
SurrealDB before 2.5.0 Privilege Escalation via Future Fields
surrealdb
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| surrealdb crates.io |
|
|
Original 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.
From the CVE record · VulnCheck
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-3v2x-9xcv-2v2vVendor advisory
- vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-future-fieldsAdvisory
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/63xxx/CVE-2026-63763.json
- nvd.nist.gov/vuln/detail/CVE-2026-63763
- github.com/surrealdb/surrealdb/commit/f515c91363ee735aa1bc08580d9e7fa0de6e736f
- github.com/surrealdb/surrealdb
- github.com/surrealdb/surrealdb/releases/tag/v2.5.0
- github.com/surrealdb/surrealdb/releases/tag/v3.0.0-beta.2