CVE-2026-121418

SurrealDB 3.1.0 before 3.3.0 Incorrect Authorization via Streaming Index Planner

Published Nov 3, 2026 CVSS 4.0 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

SurrealDB versions between 3.1.0 and 3.2.x contain an authorization flaw whereby the streaming index planner uses indexes on fields that have restricted SELECT permissions. Attackers who can submit queries are able to infer the values of these protected fields by issuing full‑text MATCHES, compound B‑tree, or HNSW KNN queries, thereby learning whether specific records contain guessed values or nearest vectors. This vulnerability does not allow code execution or denial of service but permits sensitive data disclosure that can leak confidential information.

Affected Systems

The affected vendors and products include SurrealDB, a NoSQL database. All releases from 3.1.0 up to, but not including, 3.3.0 are impacted. Users running any of these versions should verify the installed build and consider upgrading or applying the vendor updates.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate impact, and the vulnerability is not listed in the CISA KEV catalog. No EPSS score is available, so the likelihood of exploitation cannot be quantified precisely. Based on the description, the attack requires the ability to submit queries against the database; an attacker could send crafted MATCHES, B‑tree, or KNN commands to probe restricted fields and derive limited value sets. This risk is present for all users with sufficient query privileges against the vulnerable database.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor‑published upgrade to SurrealDB 3.3.0 or later, which resolves the incorrect authorization logic in the streaming planner.
  • Review and enforce proper SELECT permissions on sensitive fields, ensuring that only authorized roles can query them.
  • If upgrade is not immediately possible, disable or restrict the use of the streaming planner for tables containing restricted fields, and monitor query logs for repeated MATCHES or KNN patterns that may indicate enumeration attempts.

Generated by OpenCVE AI on November 3, 2026 at 16:15 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description 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.
Title SurrealDB 3.1.0 before 3.3.0 Incorrect Authorization via Streaming Index Planner
First Time appeared Surrealdb
Surrealdb surrealdb
Weaknesses CWE-863
CPEs cpe:2.3:a:surrealdb:surrealdb:*:*:*:*:*:*:*:*
Vendors & Products Surrealdb
Surrealdb surrealdb
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'}

cvssV4_0

{'score': 5.3, 'vector': '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 7, 2026, 2:55 AM
Reserved
Nov 3, 2026, 12:29 PM
Status
Deferred
Published
Nov 3, 2026, 3:17 PM
Modified
Nov 7, 2026, 3:17 AM