SurrealDB index planner lets users infer restricted fields
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-863.
Summary
SurrealDB from 3.1.0 before 3.3.0 contains an incorrect authorization flaw (CWE-863) because the streaming planner uses indexes on fields that have restrictive SELECT permissions. A remote attacker with low privileges and a record user account can run full-text MATCHES, compound B-tree, or HNSW KNN queries against restricted fields to infer restricted field values, such as which records contain a guessed value or which vectors are nearest.
Written with Claude Haiku 5.5 from the sources below · 2026-11-07
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
Upgrade SurrealDB to version 3.3.0, which fixes the flaw. The sources list no fixed version for SurrealDB versions earlier than 3.1.0.
Written with Claude Haiku 5.5 from the sources below · 2026-11-07
- Fix · CNA surrealdb (surrealdb) Fixed in 3.3.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
surrealdb 3.3.0
7 records Highest priority Priority MEDIUM 2 MEDIUM, 5 LOW
Other records, highest priority first
- TI-2026-84304 Server-side request forgery in SurrealDB via JWKS URL default portsPriority MEDIUM 56
- TI-2026-84301 MCP session hijack in SurrealDB via shared BoundSubject fingerprintPriority LOW 37
- TI-2026-84299 Use-after-free in SurrealDB KV backends via affinitypool spawn_localPriority LOW 37
Timeline
- 2026-11-03 Threatist record created from CVE-2026-121418
- 2026-11-03 Alias added: GHSA-8x38-ppf2-349c
- 2026-11-07 CISA SSVC decision points changed
- 2026-11-07 Priority changed: LOW → MEDIUM
References
More surrealdb vulnerabilities
- TI-2026-84304 Server-side request forgery in SurrealDB via JWKS URL default ports CVSS 4.0MEDIUM 5.1
- TI-2026-45344 SurrealDB before 3.1.0 Session Hijacking via /rpc sessions CVSS 4.0HIGH 8.7
- TI-2024-38452 SurrealDB before 1.1.0 Denial of Service via HTTP Headers CVSS 4.0HIGH 8.7
- TI-2026-45347 SurrealDB before 3.1.0 Denial of Service via JSON Parser CVSS 4.0HIGH 8.7
- TI-2026-45334 SurrealDB before 3.1.0 Denial of Service via malformed RPC use CVSS 4.0HIGH 8.7
- TI-2025-43508 SurrealDB before 2.2.2 SurrealQL Injection via export CVSS 4.0CRITICAL 9.4
Sources
- CVE-2026-121418 · CVE Program
- CVE-2026-121418 · NVD
- FIRST EPSS
- GHSA-8x38-ppf2-349c · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences