Medium (5.3) in surrealdb surrealdb. EPSS 0.3% chance of exploitation in the next 30 days. Fixed in surrealdb-core 3.2.0.
SurrealDB versions before 3.2.0 contain a permissions bypass vulnerability where data-modifying statements within PERMISSIONS clauses execute with enforcement disabled. Attackers with permission to perform a guarded operation can write to tables they lack permission for by embedding CREATE, UPDATE, DELETE, or UPSERT statements in the PERMISSIONS clause, causing unintended writes and data corruption.