CVE-2026-63309
MEDIUM 5.3CVSS 4.0SurrealDB: Indexed ORDER BY leaks the value ordering of a SELECT-restricted field
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.
- Published
- 17 Jul 2026
- Last modified
- 4 Nov 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-200CWE-863
- Also known as
- GHSA-h4h3-3rfj-x6fq
- Sources
- NVDJSONOSV GHSA-h4h3-3rfj-x6fqJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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 |
| NVD | disclosure@vulncheck.com (Primary) | 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 |
| 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, < 3.1.5 | 3.1.5 |
References
- https://github.com/surrealdb/surrealdb/releases/tag/v3.1.5
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-h4h3-3rfj-x6fq · WEB
- https://www.vulncheck.com/advisories/surrealdb-information-disclosure-via-order-by
- https://github.com/surrealdb/surrealdb · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 17 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 19 Jun 2026)