Live threats

All CVEs / Surrealdb

CVE-2026-63763Surrealdb

High 7.5

Priority
45
CVSS 4.0
7.5
EPSS
—
Auth required
Yes
Published
Jul 20, 2026
Updated
Jul 22, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-639
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Surrealdb.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
crates.io surrealdb < 2.5.0 2.5.0 cargo update -p surrealdb --precise 2.5.0
crates.io surrealdb ≥ 3.0.0-alpha.1 < 3.0.0-beta.3 3.0.0-beta.3 cargo update -p surrealdb --precise 3.0.0-beta.3

Per OSV / GitHub Advisories (GHSA-3v2x-9xcv-2v2v). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
surrealdbsurrealdb< 2.5.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0
surrealdbsurrealdb3.0.0

Official sources

References

Links published by the sources. Open them with care.