GHSA-3hpg-ph9p-5cfhMediumCVSS 4.3
SurrealDB before 4.0.0 contains an incorrect authorization vulnerability in...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (5)
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wjh3-m4pv-q6cp
- https://nvd.nist.gov/vuln/detail/CVE-2026-134306
- https://github.com/surrealdb/surrealdb/commit/fa6643f1904f96842ccb1ad885f5204992b87021
- https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-field-permission-bypass-via-wildcard-array-index-drift
- https://github.com/advisories/GHSA-3hpg-ph9p-5cfh