Description
SurrealDB before 3.3.0 contains an authorization bypass vulnerability that allows callers with table-level write permission to read SELECT-restricted fields by resolving JSON Patch pointers against the unreduced record. Attackers can use PATCH copy or move operations to copy hidden fields into readable destinations, or abuse test mismatch errors as a disclosure oracle.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| surrealdb | surrealdb | < 3.3.0 | 3.3.0 |
References
- GitHub Security Advisory (GHSA-h2c3-549c-gjpr) vendor-advisory
- VulnCheck Advisory: SurrealDB before 3.3.0 Field Permission Bypass via PATCH copy/move/test Operations third-party-advisory