CVE-2026-63763
HIGHSurrealDB before 2.5.0 Privilege Escalation via Future Fields
Title source: cnaDescription
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.
References (2)
Core 2
Core References
Vendor Advisory vendor-advisory
GitHub Security Advisory (GHSA-3v2x-9xcv-2v2v)
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3v2x-9xcv-2v2v
Third Party Advisory third-party-advisory
VulnCheck Advisory: SurrealDB before 2.5.0 Privilege Escalation via Future Fields
https://www.vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-future-fields
Scores
CVSS v3
8.8
EPSS
0.0027
EPSS Percentile
19.5%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
total
Details
CWE
CWE-639
Status
published
Products (6)
surrealdb/surrealdb
3.0.0 alpha1 (19 CPE variants)
surrealdb/surrealdb
< 2.5.0 (2 CPE variants)
surrealdb/surrealdb
< 3.0.0-beta.3
surrealdb/surrealdb
2.5.0
surrealdb/surrealdb
3.0.0-alpha.1 - 3.0.0-beta.3
surrealdb/surrealdb
3.0.0-beta.3
Published
Jul 20, 2026
Tracked Since
Jul 20, 2026