SurrealDB
SurrealDB before 3.1.0 Privilege Escalation via RPC Session Race Condition
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.2critical · scored by CNA · CWE-362
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
surrealdb surrealdb
- < 3.1.0
Fixed in 3.1.0
Mitigation
Upgrade surrealdb to 3.1.0 or later.
References
- Vendor advisory github.com/surrealdb/surrealdb/security/adviso…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.