High severity · published Jul 20, 2026
CVE-2026-63763
SurrealDB before 2.5.0 Privilege Escalation via Future Fields
8.8
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
SU
surrealdb · surrealdb
before 2.5.0; 3.0.0-alpha.1 before 3.0.0-beta.3 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-63763
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-63763
Mitigation
https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3v2x-9xcv-2v2v
Third Party Advisory
https://www.vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-future-fields
More from surrealdb
8.8
CVE-2026-63757
SurrealDB before 3.1.0 Session Hijacking via /rpc sessions
8.8
CVE-2025-71390
SurrealDB before 2.3.6 deny-net Bypass via DNS Resolution
8.8
CVE-2024-58366
SurrealDB before 1.1.1 Format String via Scripting Functions
8.8
CVE-2024-58362
SurrealDB before 1.5.5 Query Injection via RPC API
8.8
CVE-2023-54366
SurrealDB before 1.0.1 Insecure Default Table Permissions
