CVE-2026-63763 PUBLISHED

SurrealDB before 2.5.0 Privilege Escalation via Future Fields

Assigner: VulnCheck
Reserved: 18.07.2026 Published: 20.07.2026 Updated: 20.07.2026

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.

Metrics

CVSS 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
CVSS Score: 7.5

Product Status

Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 2.5.0 (excl.)
  • Version 2.5.0 is unaffected
Vendor surrealdb
Product surrealdb
Versions Default: unaffected
  • affected from 0 to 3.0.0-beta.3 (excl.)
  • Version 3.0.0-beta.3 is unaffected

Credits

  • cure53 reporter
  • geraname reporter

References

Problem Types

  • Authorization Bypass Through User-Controlled Key CWE