Skip to content

CVE-2026-63763 SurrealDB before 2.5.0 Privilege Escalation via Future Fields

HighCVSS 7.5 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
crates.io surrealdb < 2.5.0; >= 3.0.0-alpha.1, < 3.0.0-beta.3 2.5.0, 3.0.0-beta.3 Fixed
crates.io surrealdb(crates.io) < 2.5.0; >= 3.0.0-alpha.1, < 3.0.0-beta.3 2.5.0, 3.0.0-beta.3 Fixed
surrealdb < 2.5.0; = 3.0.0-alpha1; = 3.0.0-alpha2; = 3.0.0-alpha3 +16 more 2.5.0 Fixed

Affected products

ProductAffected versionsFixed in
crates.io surrealdb < 2.5.0 2.5.0
crates.io surrealdb >= 3.0.0-alpha.1, < 3.0.0-beta.3 3.0.0-beta.3
crates.io surrealdb(crates.io) < 2.5.0 2.5.0
crates.io surrealdb(crates.io) >= 3.0.0-alpha.1, < 3.0.0-beta.3 3.0.0-beta.3
surrealdb < 2.5.0 2.5.0
surrealdb = 3.0.0-alpha1 No fix listed
surrealdb = 3.0.0-alpha10 No fix listed
surrealdb = 3.0.0-alpha11 No fix listed
surrealdb = 3.0.0-alpha12 No fix listed
surrealdb = 3.0.0-alpha13 No fix listed
surrealdb = 3.0.0-alpha14 No fix listed
surrealdb = 3.0.0-alpha16 No fix listed
surrealdb = 3.0.0-alpha17 No fix listed
surrealdb = 3.0.0-alpha18 No fix listed
surrealdb = 3.0.0-alpha2 No fix listed
surrealdb = 3.0.0-alpha3 No fix listed
surrealdb = 3.0.0-alpha4 No fix listed
surrealdb = 3.0.0-alpha5 No fix listed
surrealdb = 3.0.0-alpha6 No fix listed
surrealdb = 3.0.0-alpha7 No fix listed
surrealdb = 3.0.0-alpha8 No fix listed
surrealdb = 3.0.0-alpha9 No fix listed
surrealdb = 3.0.0-beta1 No fix listed
surrealdb = 3.0.0-beta2 No fix listed

References