← VULNERABILITIES

CVE-2026-134306

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

Medium · 5.3Fix available
CVSS
5.3
EPSS
0.33% (p19)
Published
2026-11-21
Age
8d old
Modified
2026-11-23
Product
surrealdb surrealdb
Aliases
GHSA-wjh3-m4pv-q6cp

CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

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.

Fixed in

4.0.0

Affected packages

EcosystemPackageRangeFixed
vendorsurrealdb>=0, <4.0.04.0.0

Sources

  • NVD · first seen 8d ago · NVD terms of use
  • OSV · first seen 8d ago · CC-BY 4.0
  • CVE List · first seen 8d ago · CVE Terms of Use

References

JSON