Description
SurrealDB versions before 3.1.0 contain a field-level SELECT permission bypass vulnerability in indexed COUNT fast paths. Attackers can execute COUNT queries on indexed fields with field-level SELECT restrictions to confirm or recover restricted field values through repeated guesses.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| surrealdb | surrealdb | < 3.1.0 | 3.1.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | surrealdb | < 3.1.0 | 3.1.0 | GHSA-c8jx-96c9-8xrp |
References
- GitHub Security Advisory (GHSA-c8jx-96c9-8xrp) vendor-advisory
- VulnCheck Advisory: SurrealDB before 3.1.0 Field Permission Bypass via Indexed COUNT third-party-advisory