CVE-2026-134306 Details
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.
A vulnerability exists in SurrealDB versions prior to 4.0.0, specifically within the 'filter_fields_by_permission' function. This vulnerability allows authenticated record users to access child field values that should be denied by permission rules. The issue arises when overlapping permissions on array elements are not properly managed, leading to a situation where denied values can be inadvertently exposed. Attackers can exploit this by crafting queries that take advantage of the permission handling flaws, particularly in scenarios where array elements are compacted, causing a shift in indices that retains access to denied values.
Users can upgrade to SurrealDB version 4.0.0 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-863 | Incorrect Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SurrealDB | < 4.0.0 (semver) |
CPE
Remediation
| |
Change History
1 change record found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 21, 2026 | New CVE Received | [email protected] |
Volerion