| Package | Affected versions | Patched versions |
|---|---|---|
| surrealdb | < 3.1.0 | 3.1.0 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free