Description
SurrealDB versions before 3.1.0 fail to enforce table SELECT permissions when traversing graph edges or back-references. Authenticated users can read records from any table reachable through graph edges regardless of the target table's PERMISSIONS FOR select clause.
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-vjjx-rfw4-rmfc |
References
- GitHub Security Advisory (GHSA-vjjx-rfw4-rmfc) vendor-advisory
- VulnCheck Advisory: SurrealDB before 3.1.0 Permission Bypass via Graph Traversal third-party-advisory