# CVE-2026-63742: SurrealDB before 3.1.0 Field Permission Bypass via Indexed COUNT

- 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.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2026-07-01T20:22:06.000Z
- Modified: 2026-11-04T02:56:13.128Z
- Also known as: GHSA-c8jx-96c9-8xrp
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## Description

SurrealDB versions before 3.1.0 contain a field-level SELECT permission bypass vulnerability in indexed COUNT fast paths. Attackers can execute COUNT queries on indexed fields with field-level SELECT restrictions to confirm or recover restricted field values through repeated guesses.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: before 3.1.0 (not affected: 3.1.0)
- surrealdb (crates.io): before 3.1.0

## 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-c8jx-96c9-8xrp> (mitigation, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/surrealdb-before-field-permission-bypass-via-indexed-count> (third-party-advisory)
- <https://github.com/surrealdb/surrealdb/pull/240> (web)
- <https://github.com/surrealdb/surrealdb/commit/0c6dd021bb55b32a78a553c72bb9c0cdd414825f> (web)
- <https://github.com/surrealdb/surrealdb> (package)

## Sources

- CVE List: [CVE-2026-63742](https://www.cve.org/CVERecord?id=CVE-2026-63742), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-c8jx-96c9-8xrp](https://github.com/advisories/GHSA-c8jx-96c9-8xrp), CC-BY-4.0, modified 2026-11-04
- NVD: [CVE-2026-63742](https://nvd.nist.gov/vuln/detail/CVE-2026-63742), Public domain, modified 2026-07-22

---

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