GHSA-2f98-6626-h2p2
MEDIUM 4.3CVSS 3.1withdrawn / rejectedDuplicate Advisory: SurrealDB: Indexed ORDER BY leaks the value ordering of a SELECT-restricted field
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.
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | crates.io | surrealdb | >= 3.0.0 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-h4h3-3rfj-x6fq · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-63309 · ADVISORY
- https://github.com/surrealdb/surrealdb/releases/tag/v3.1.5 · WEB
- https://www.vulncheck.com/advisories/surrealdb-information-disclosure-via-order-by · WEB
History
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 17 Jul 2026)