Duplicate Advisory: SurrealDB: Indexed ORDER BY leaks the value ordering of a SELECT-restricted field
Affects surrealdbSource GCVE Database
0
CVSS 4.3 Medium.
Data as of 7 Sep 2026, 15:38 UTC
CVSS 3.1 base score
4.3Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NWhat to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iosurrealdb | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, avoid relying on field-level SELECT permissions to protect sensitive ordering information or restrict authenticated user query capabilities accordingly.
Description
SurrealDB versions 3.0.0 and later before 3.1.5 have a vulnerability where field-level SELECT permissions are not enforced on ORDER BY clauses. This allows authenticated users to infer the relative ordering of restricted field values even though the field values themselves are returned as null.
References
- github.com/surrealdb/surrealdb/security/advisories/GHSA-h4h3-3rfj-x6fq (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-63309 (opens in a new tab)
- github.com/surrealdb/surrealdb/releases/tag/v3.1.5 (opens in a new tab)
- vulncheck.com/advisories/surrealdb-information-disclosure-via-order-by (opens in a new tab)
Community reviews
Loading reviews…