CVE-2026-63742
Received Received - Intake

SurrealDB Field-Level SELECT Bypass via Indexed COUNT Queries

Vulnerability report for CVE-2026-63742, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-20

Last updated on: 2026-07-20

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-20
Last Modified
2026-07-20
Generated
2026-07-21
AI Q&A
2026-07-20
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
surrealdb surrealdb to 3.1.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-863 The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects SurrealDB versions before 3.1.0. It allows attackers with table-level SELECT permissions to bypass field-level restrictions and infer values of hidden fields by exploiting indexed COUNT fast paths. Attackers can repeatedly guess field values using COUNT queries on indexed fields, even when direct read access is blocked.

Detection Guidance

To detect this vulnerability, monitor SurrealDB instances running versions before 3.1.0 for unusual COUNT queries on indexed fields with field-level SELECT restrictions. Check logs for repeated queries like SELECT count() FROM t WHERE hidden_field = 'guess' GROUP ALL. Use SurrealDB's logging features to track query patterns and identify unauthorized access attempts.

Impact Analysis

If you use SurrealDB versions before 3.1.0, an attacker with limited permissions could potentially recover sensitive data from restricted fields. This could lead to unauthorized data exposure, privacy breaches, or information leakage. The impact is limited to data inference and does not allow modification or privilege escalation.

Compliance Impact

This vulnerability could violate data protection regulations like GDPR and HIPAA by enabling unauthorized access to restricted personal or sensitive data. Organizations using affected SurrealDB versions may face compliance risks, potential fines, and reputational damage due to insufficient field-level access controls.

Mitigation Strategies

Upgrade SurrealDB to version 3.1.0 or later immediately. If upgrading is not possible, avoid defining indexes on fields protected by field-level SELECT permissions. Restrict COUNT query execution and implement namespace/database isolation as temporary mitigations.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-63742. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart