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.
References
| Link | Resource |
|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-4vgr-h27g-cf9p | Vendor Advisory |
| https://www.vulncheck.com/advisories/surrealdb-before-privilege-escalation-via-rpc-session-race-condition | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2026-07-20 12:19
Updated : 2026-07-22 15:18
NVD link : CVE-2026-63756
Mitre link : CVE-2026-63756
CVE.ORG link : CVE-2026-63756
JSON object : View
Products Affected
surrealdb
- surrealdb
CWE
CWE-362
Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
