CVE-2026-134306
SurrealDB before 4.0.0 Field Permission Bypass via Wildcard Array-Index Drift
CVSS Score
4.3
EPSS Score
0.3%
EPSS Percentile
17th
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.
| CWE | CWE-863 |
| Vendor | surrealdb |
| Product | surrealdb |
| Published | Nov 21, 2026 |
| Last Updated | Nov 23, 2026 |
Stay Ahead of the Next One
Get instant alerts for surrealdb surrealdb
Be the first to know when new medium vulnerabilities affecting surrealdb surrealdb are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
Affected Versions
surrealdb / surrealdb
0 < 4.0.0
References
github.com: https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wjh3-m4pv-q6cp github.com: https://github.com/surrealdb/surrealdb/commit/fa6643f1904f96842ccb1ad885f5204992b87021 vulncheck.com: https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-field-permission-bypass-via-wildcard-array-index-drift
Credits
rexpository