cvelo
P3 · MediumCVSS 4.3

SurrealDB before 4.0.0 Field Permission Bypass via Wildcard Array-Index Drift

  • CVE-2026-134306
  • GHSA-3hpg-ph9p-5cfh
  • EUVD-2026-132245

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.

Text from the CVE.org record.

Affected

  • surrealdb

    • before 4.0.0
    • 4.0.0: not affected

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.