# CVE-2026-63309: SurrealDB < 3.1.5 Information Disclosure via ORDER BY

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 19% of CVEs (2026-11-30)
- Published: 2026-06-19T22:10:50.000Z
- Modified: 2026-11-08T14:07:56.411Z
- Also known as: GHSA-h4h3-3rfj-x6fq
- Weaknesses: CWE-200, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: from 3.0.0 before 3.1.5 (not affected: 3.1.5)
- surrealdb (crates.io): from 3.0.0 before 3.1.5

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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`
- VulnCheck: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-h4h3-3rfj-x6fq> (vendor-advisory, web)
- <https://github.com/surrealdb/surrealdb/releases/tag/v3.1.5> (release-notes)
- <https://www.vulncheck.com/advisories/surrealdb-information-disclosure-via-order-by> (third-party-advisory)
- <https://github.com/surrealdb/surrealdb> (package)

## Sources

- CVE List: [CVE-2026-63309](https://www.cve.org/CVERecord?id=CVE-2026-63309), CVE Terms of Use, modified 2026-11-08
- GitHub Advisory Database: [GHSA-h4h3-3rfj-x6fq](https://github.com/advisories/GHSA-h4h3-3rfj-x6fq), CC-BY-4.0, modified 2026-11-04
- NVD: [CVE-2026-63309](https://nvd.nist.gov/vuln/detail/CVE-2026-63309), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-63309 · Whole record: https://cve.day/CVE-2026-63309.json · Rebuilt by cve.day 2026-11-25T22:59:28.501Z
