Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134306: medium-severity vulnerability (CVSS 5.3) in surrealdb surrealdb.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 5.3.
Affected products and versions
surrealdb surrealdb < 4.0.0; surrealdb surrealdb 4.0.0 (fixed in 4.0.0)
| Product | Versions | Fixed in |
|---|---|---|
| surrealdb surrealdb | < 4.0.0 | — |
| surrealdb surrealdb | 4.0.0 | 4.0.0 |
Action recommended by the source
Upgrade to a fixed version: 4.0.0.
Fixed in: 4.0.0
Sources and references
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wjh3-m4pv-q6cp — CVE Program
- https://github.com/surrealdb/surrealdb/commit/fa6643f1904f96842ccb1ad885f5204992b87021 — CVE Program
- https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-field-permission-bypass-via-wildcard-array-index-drift — CVE Program
Weaknesses (CWE): CWE-863
Relevant change history
Published
Preliminary advisory published.