GHSA-x6mm-9295-rvph: SurrealDB 3.1.0 before 3.3.0 Incorrect Authorization via Streaming Index Planner

Published Nov 3, 2026
·
Updated

SurrealDB from 3.1.0 before 3.3.0 contains an incorrect authorization vulnerability that allows record users to infer restricted field values because the streaming planner uses indexes on fields with restrictive SELECT permissions. Attackers can issue full-text MATCHES, compound B-tree, or HNSW KNN queries against restricted fields to learn which records contain guessed values or nearest vectors.

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade SurrealDB to a version that resolves this vulnerability.

    Fixed in 3.3.0

Event History

Nov 3, 2026
CVE Published
via OSV·02:28 PM
Data Sourced
via OSV·02:28 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments running SurrealDB 3.1.0 through versions before 3.3.0 are affected when restricted fields have SELECT permissions and are used by the streaming planner through full-text, compound B-tree, or HNSW KNN indexes.

2

What access does an attacker need?

An attacker needs record-user-level access that allows them to issue queries. No user interaction is required, and the issue can be exercised remotely over the network.

3

What information can be exposed?

An attacker can infer values in fields that should be restricted by determining whether records contain guessed values through full-text MATCHES or compound B-tree queries. HNSW KNN queries can similarly reveal information about nearest vectors.

4

What is the available remediation?

Upgrade SurrealDB to version 3.3.0 or later. The provided data does not identify a workaround for environments that cannot upgrade immediately.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203