CVE-2026-63763 Details
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.
A privilege escalation vulnerability has been identified in SurrealDB versions prior to 2.5.0 and 3.0.0-beta.3. This vulnerability allows unprivileged users, such as those with the database editor role, to create or modify fields that contain futures, functions, or closures. These elements are executed in the context of the user invoking the query, rather than the original creator. As a result, an attacker can embed malicious logic that runs with the permissions of a higher-privileged user when that user interacts with the affected record. This could lead to full privilege escalation, including the creation of a root owner and complete takeover of the server.
Users can upgrade to SurrealDB versions 2.5.0 or 3.0.0-beta.3, where this vulnerability has been patched. For SurrealDB 3.0, 'futures' are no longer supported and have been replaced by 'computed' fields, available only within schemaful tables. Users should also redefine any existing APIs, events, fields, and functions to ensure the 'auth_limit' feature applies, as this limit was not retroactive.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3v2x-9xcv-2v2v | [email protected] | MitigationVendor Advisory |
| https://www.vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-future-fields | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| surrealdb surrealdb | < 2.5.0 3.0.0 alpha1 3.0.0 alpha10 3.0.0 alpha11 3.0.0 alpha12 3.0.0 alpha13 3.0.0 alpha14 3.0.0 alpha16 3.0.0 alpha17 3.0.0 alpha18 3.0.0 alpha2 3.0.0 alpha3 3.0.0 alpha4 3.0.0 alpha5 3.0.0 alpha6 3.0.0 alpha7 3.0.0 alpha8 3.0.0 alpha9 3.0.0 beta1 3.0.0 beta2 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | Initial Analysis | [email protected] |
| Jul 21, 2026 | CVE Modified | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |