CVE-2026-63763CWE-639

SurrealDB before 2.5.0 Privilege Escalation via Future Fields

High · published July 20, 2026

CVSS v4.0
7.5
EPSS
0%
Percentile
41.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
7.5 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00497 · 41.7th percentile
Weakness
CWE-639 · Authorization Bypass Through User-Controlled Key
Published
2026-07-20T12:04Z
EPSS history
Timeline
  • 20 JUL 12:04Z
    SurrealDB before 2.5.0 Privilege Escalation via Future Fields
    cvelistv5