SurrealDB before 3.3.0 Field Permission Bypass via LIVE SELECT $before/$after
surrealdb
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| surrealdb surrealdb |
|
|
Original description
SurrealDB before 3.3.0 contains an authorization bypass vulnerability that allows record users to read fields hidden by field-level SELECT permissions through LIVE SELECT projections. Attackers can project restricted fields from the unreduced $after or $before parameters under an alias to receive exact stored values in CREATE, UPDATE, and DELETE notifications.
From the CVE record · VulnCheck