CVE-2026-134306
Deferred Deferred - Pending Action

Incorrect Authorization in SurrealDB Allows Unauthorized Field Access

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

Publication date: 2026-11-21

Last updated on: 2026-11-21

Assigner: VulnCheck

Description

SurrealDB before 4.0.0 contains an incorrect authorization vulnerability in filter_fields_by_permission that allows authenticated record users to read denied child field values. Attackers can query rows where overlapping items[*] and items[*].secret permissions compact arrays, causing shifted elements to retain field values denied by SELECT permissions.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

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

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
surrealdb surrealdb to 4.0.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

SurrealDB before 4.0.0 has a flaw in its permission filtering system where overlapping wildcard field permissions can incorrectly allow access to restricted data. When a parent permission removes array elements, child permissions may evaluate against the wrong elements due to shifting during array compaction, exposing denied child field values like secrets to authenticated users.

Detection Guidance

To detect this vulnerability, check your SurrealDB version with: surrealdb version. If it is below 4.0.0, the system is vulnerable. Review database queries using wildcard permissions like items[*] and items[*].secret for potential exposure of restricted data.

Impact Analysis

This vulnerability allows authenticated users with limited privileges to read sensitive data they should not have access to, such as secrets or restricted fields. Attackers could exploit this to extract confidential information from the database, potentially leading to data breaches or unauthorized access to sensitive records.

Compliance Impact

This vulnerability could lead to unauthorized exposure of sensitive personal or health data, violating GDPR and HIPAA requirements for strict access controls and data protection. Non-compliance may result in legal penalties, fines, or reputational damage due to data breaches.

Mitigation Strategies

Upgrade SurrealDB to version 4.0.0 or later immediately. Review and update field-level permissions to avoid overlapping wildcard permissions. Audit database queries to ensure no unauthorized data access is possible.

Chat Assistant

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

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...