CVE-2026-63756 Details
Description
SurrealDB versions before 3.1.0 contain a time-of-check/time-of-use race condition in the HTTP /rpc endpoint that allows unauthenticated requests to inherit authenticated session state. Unauthenticated attackers can send concurrent requests to the /rpc endpoint while legitimate authenticated traffic is active to execute operations with hijacked user privileges.
A privilege escalation vulnerability exists in SurrealDB versions prior to 3.1.0, stemming from a time-of-check/time-of-use race condition in the HTTP /rpc endpoint. This flaw allows unauthenticated requests to inherit the session state of authenticated users. Attackers can exploit this by sending concurrent requests to the /rpc endpoint while an authenticated session is active, thereby executing operations with the privileges of the hijacked user. The vulnerability arises because the /rpc endpoint does not isolate session contexts for each request, leading to shared authentication states that can be exploited.
Users can upgrade to SurrealDB version 3.1.0 or later, where this vulnerability has been patched. The update introduces per-request session isolation, ensuring that each HTTP /rpc request is processed within its own session context, thereby preventing the inheritance of authenticated user privileges. For those unable to upgrade, network-level controls can be implemented to restrict access to the /rpc endpoint from untrusted clients.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-4vgr-h27g-cf9p | [email protected] | Vendor Advisory |
| https://www.vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-rpc-session-race-condition | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| surrealdb surrealdb | < 3.1.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | Initial Analysis | [email protected] |
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |