CVE-2026-63742 Details
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.
A field-level SELECT permission bypass vulnerability has been identified in SurrealDB versions prior to 3.1.0. This vulnerability allows attackers to execute COUNT queries on indexed fields that have SELECT restrictions, enabling them to confirm or recover restricted field values through repeated guesses. The issue arises because the query planner's indexed COUNT fast paths bypass the necessary permission checks, allowing access to hidden data.
Users can upgrade to SurrealDB version 3.1.0 or later, where this vulnerability has been patched. Alternatively, avoid indexing fields that are protected by SELECT permissions, restrict the ability to run COUNT queries on tables with field-protected columns, or use database isolation as a boundary where feasible.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/surrealdb/surrealdb/security/advisories/GHSA-c8jx-96c9-8xrp | [email protected] | Vendor AdvisoryMitigation |
| https://www.vulncheck.com/advisories/surrealdb-before-field-permission-bypass-via-indexed-count | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| surrealdb surrealdb | < 3.1.0 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 22, 2026 | Initial Analysis | [email protected] |
| Jul 20, 2026 | CVE Modified | CISA-ADP |
| Jul 20, 2026 | New CVE Received | [email protected] |