Duplicate Advisory: SurrealDB: Indexed ORDER BY leaks the value ordering of a SELECT-restricted field
Moderate severity
GitHub Reviewed
Published
Jul 17, 2026
to the GitHub Advisory Database
•
Updated Sep 3, 2026
Withdrawn
This advisory was withdrawn on Sep 3, 2026
Description
Published by the National Vulnerability Database
Jul 17, 2026
Published to the GitHub Advisory Database
Jul 17, 2026
Reviewed
Sep 3, 2026
Withdrawn
Sep 3, 2026
Last updated
Sep 3, 2026
Duplicate Advisory
This advisory has been withdrawn because it is a duplicate of GHSA-h4h3-3rfj-x6fq. This link is maintained to preserve external references.
Original Description
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