Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

SurrealDB before 2.5.0 Privilege Escalation via Future Fields

Exploitation and risk

Source status

CISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.

Which CVEs have scores here?

This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.

No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.

cve-program · CVE-2026-63763

Published

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.

Source published
20 Jul 2026 12:04:52 UTC
Source modified
28 Jul 2026 01:05:52 UTC
Saved here
23 Oct 2026 15:48:27 UTC
Source terms
CVE Program Terms of Use

Original source record · Cite this exact observation · Complete original publisher JSON

Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 4.0 · 7.5 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

euvd · EUVD-2026-45934

Published

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.

Additional publisher context

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Jul 20, 2026, 12:04:52 PM

dateUpdated: Jul 28, 2026, 1:05:52 AM

Source published
Jul 20, 2026, 12:04:52 PM (timezone not stated)
Source modified
Jul 28, 2026, 1:05:52 AM (timezone not stated)
Saved here
23 Nov 2026 18:32:16 UTC
Source terms
ENISA EUVD · source terms and attribution apply

Original source record · Cite this exact observation · Complete original publisher JSON

Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

EUVD CVSS 4.0 · 7.5 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

nvd · CVE-2026-63763

Published

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.

Additional publisher context

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-639

Original publisher date fields

published: 2026-07-20T12:19:46.623

lastModified: 2026-07-22T19:40:00.720

20 source CPE criteria · context only
  • cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha10:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha11:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha12:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha13:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha14:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha16:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha17:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha18:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha2:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha3:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha4:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha5:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha6:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha7:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha8:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:alpha9:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:surrealdb:surrealdb:3.0.0:beta2:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

Source published
20 Jul 2026 12:19:46 UTC
Source modified
22 Jul 2026 19:40:00 UTC
Saved here
25 Oct 2026 15:18:45 UTC
Source terms
NIST NVD usage terms; underlying source attribution retained

Original source record · Cite this exact observation · Complete original publisher JSON

Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 4.0 · [email protected] · Secondary · 7.5 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

CVSS 3.1 · [email protected] · Primary · 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

osv · GHSA-3v2x-9xcv-2v2v

Published

Unprivileged users (for example, those with the database editor role) can create or modify fields in records that contain functions or `futures`. `Futures` are values which are only computed when the value is queried. The query executes in the context of the querying user, rather than the user who originally defined the future. Likewise, fields containing functions or custom-defined logic (`closures`) are executed under the privileges of the invoking user, not the creator. This results in a confused deputy vulnerability: an attacker with limited privileges can define a malicious function or future field that performs privileged actions. When a higher-privileged user (such as a root owner or namespace administrator) executes the function or queries or modifies that record, the function executes with their elevated permissions. ### Impact An attacker who can create or update function/future fields can plant logic that executes with a privileged user’s context. If a privileged user performs a write that touches the malicious field, the attacker can achieve full privilege escalation (e.g., create a root owner and take over the server). If a privileged user performs a read action on the malicious field, this attack vector could still be potentially be used to perform limited denial of service or, in the specific case where the network capability was explicitly enabled and unrestricted, exfiltrate database information over the network. ### Patches Versions prior to 2.5.0 and 3.0.0-beta.3 are vulnerable. For SurrealDB 3.0, `futures` are no longer supported, replaced by `computed` fields, only available within schemaful tables. Further to this patches for 2.5.0 and 3.0.0-beta.3: - Implements an `auth_limit` on defined apis, functions, fields and events, that limits execution to the permissions of the creating user or the invoking user, whichever is lower. - Prevents `closures` from being stored, that eliminates a potential attack surface. For 2.5.0 this can still be allowed by using the `insecure_storable_closures` capability - Ensures the proper auth level is used to compute expressions in signin & signup **_For existing apis, events, fields and functions defined prior to upgrading to 2.5.0 or 3.0.0-beta.3 `auth_limit` will not apply, to avoid breaking changes. These will need to subsequently be redefined so that `auth_limit` can take effect._** ### Workarounds Users unable to patch are advised to evaluate their use of the database to identify where low privileged users are able to define logic subsequently executed by privileged users, such as apis, functions, futures fields and events, and recommended to minimise these instances. ### References [Futures](https://surrealdb.com/docs/surrealql/datamodel/futures) [Closures](https://surrealdb.com/docs/surrealql/datamodel/closures) [SurrealDB Environment Variables](https://surrealdb.com/docs/surrealdb/cli/env)

Source published
22 Jan 2026 18:06:15 UTC
Source modified
21 Jul 2026 03:56:44 UTC
Saved here
24 Oct 2026 13:19:54 UTC
Source terms
GitHub Advisory Database · CC-BY-4.0

Original source record · Cite this exact observation · Complete original publisher JSON

Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS_V4 · 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

Publisher rating · HIGH

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 00:16 UTC · 274 of 275 readable · 272 fully read · documentation 469/469 current