SurrealDB before 2.5.0 and before 3.0.0-beta.3 contains a confused deputy privilege escalation vulnerability. (CVE-2026-63763)
SurrealDB versions before 2.5.0 and before 3.0.0-beta.3 have a confused deputy privilege escalation vulnerability. Unprivileged users with roles such as database editor can create or modify fields containing executable elements like futures, functions, or closures. These elements run with the permissions of the user querying or invoking them, potentially allowing malicious logic to execute with higher privileges. This vulnerability can lead to full privilege escalation, including the creation of a root owner and complete server takeover.
AI Analysis
Technical Summary
SurrealDB before 2.5.0 and before 3.0.0-beta.3 contains a confused deputy vulnerability (CWE-639) where unprivileged users can embed executable logic in database fields. Because this logic executes in the context of the querying user rather than the creator, an attacker can escalate privileges by planting malicious code that runs with elevated permissions when accessed by a higher-privileged user. This can result in full privilege escalation and server compromise.
Potential Impact
An attacker with limited privileges (e.g., database editor) can escalate to full administrative control by exploiting the execution context confusion. This includes the ability to create a root owner account and take over the server, severely compromising the confidentiality, integrity, and availability of the database system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available. Until a patch is released, restrict unprivileged users from creating or modifying fields that can contain executable elements such as futures, functions, or closures, if possible.
SurrealDB before 2.5.0 and before 3.0.0-beta.3 contains a confused deputy privilege escalation vulnerability. (CVE-2026-63763)
Description
SurrealDB versions before 2.5.0 and before 3.0.0-beta.3 have a confused deputy privilege escalation vulnerability. Unprivileged users with roles such as database editor can create or modify fields containing executable elements like futures, functions, or closures. These elements run with the permissions of the user querying or invoking them, potentially allowing malicious logic to execute with higher privileges. This vulnerability can lead to full privilege escalation, including the creation of a root owner and complete server takeover.
CVSS v4.0
Affected software
pkg:github/surrealdb/surrealdbRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
SurrealDB before 2.5.0 and before 3.0.0-beta.3 contains a confused deputy vulnerability (CWE-639) where unprivileged users can embed executable logic in database fields. Because this logic executes in the context of the querying user rather than the creator, an attacker can escalate privileges by planting malicious code that runs with elevated permissions when accessed by a higher-privileged user. This can result in full privilege escalation and server compromise.
Potential Impact
An attacker with limited privileges (e.g., database editor) can escalate to full administrative control by exploiting the execution context confusion. This includes the ability to create a root owner account and take over the server, severely compromising the confidentiality, integrity, and availability of the database system.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch links are currently available. Until a patch is released, restrict unprivileged users from creating or modifying fields that can contain executable elements such as futures, functions, or closures, if possible.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-5w8c-cvwv-f5px
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-63763"]
- Ecosystems
- []
- Database Specific Severity
- HIGH
- Cvss Version
- 4.0
Threat ID: 6a6150e79c2644c7f8da2049
Added to database: 07/22/2026, 23:23:19 UTC
Last enriched: 07/22/2026, 23:37:50 UTC
Last updated: 07/31/2026, 19:23:00 UTC
Views: 10
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.