CVE-2026-63763

SurrealDB before 2.5.0 Privilege Escalation via Future Fields

State
Published
Severity
7.5 High
Published
Jul 20, 2026
Updated
Jul 28, 2026
Reserved
Jul 18, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.07.5 HighCVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NVulnCheck

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected Products

ProductVersions
surrealdbsurrealdb
  • before 2.5.0Affected
  • 2.5.0Not affected
surrealdbsurrealdb
  • 3.0.0-alpha.1 to before 3.0.0-beta.3Affected
  • 3.0.0-beta.3Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.