Description
SurrealDB versions before 3.1.4 fail to properly enforce SELECT permissions on array elements (field.*) for record users, leaking denied array elements instead of hiding them. Attackers with record scope access can read array elements that element-level permissions should deny by exploiting incorrect index handling during permission filtering.
Severity (CVSS)
| Base score | 7.1 |
|---|---|
| Severity | High |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-863 — Incorrect Authorization
Affected products
| Vendor | Product | Versions |
|---|---|---|
| surrealdb | surrealdb | 0 to <3.1.4; 3.1.4 |
References
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-8rw6-p7m8-63jp (vendor-advisory)
- https://www.vulncheck.com/advisories/surrealdb-before-array-element-permission-bypass (third-party-advisory)
Generated from the official CVE List on 21 Jul 2026 07:01 UTC.