NetSight
medium5.3

CVE-2026-134306

SurrealDB before 4.0.0 Field Permission Bypass via Wildcard Array-Index Drift

Impact

SurrealDB before 4.0.0 contains an incorrect authorization vulnerability in filter_fields_by_permission that allows authenticated record users to read denied child field values. Attackers can query rows where overlapping items[*] and items[*].secret permissions compact arrays, causing shifted elements to retain field values denied by SELECT permissions.

An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: low risk of data being read.

Affected products · Surrealdb

ProductAffected versions
Surrealdb
before 4.0.0

Weakness classification

References