Description
SurrealDB versions 3.1.0 before 3.1.5 fail to enforce field-level SELECT permissions when records are accessed through graph-edge or back-reference traversals. Attackers with table-level SELECT access can read field values hidden by field-level permissions by materializing records through graph traversals instead of direct table scans.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| surrealdb | surrealdb | 3.1.0 – < 3.1.5 | 3.1.5 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| crates.io | surrealdb | >= 3.1.0, < 3.1.5 | 3.1.5 | GHSA-hv6h-hc26-q48p |
References
- GitHub Security Advisory (GHSA-hv6h-hc26-q48p) vendor-advisory
- VulnCheck Advisory: SurrealDB 3.1.0 before 3.1.5 Field Permission Bypass via Traversal third-party-advisory