SurrealDB before 3.1.5 fail to apply field-level SELECT...
Moderate severity
Unreviewed
Published
Jul 17, 2026
to the GitHub Advisory Database
•
Updated Jul 17, 2026
Description
Published by the National Vulnerability Database
Jul 17, 2026
Published to the GitHub Advisory Database
Jul 17, 2026
Last updated
Jul 17, 2026
SurrealDB before 3.1.5 fail to apply field-level SELECT permissions to ORDER BY clauses, allowing authenticated users to leak the relative ordering of restricted field values. Attackers can issue ORDER BY queries on indexed restricted fields to recover the hidden values' sort order across records, even though the field itself returns null as intended.
References