CVE-2026-134306
JSON

5.3medium

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

Severity
5.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.31% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
surrealdb surrealdbbefore 4.0.0
Not affected: 4.0.0
CVE List

All scores

VulnCheck5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-134306 changed 2026-11-23CVE Terms of Use
NVDCVE-2026-134306 changed 2026-11-23Public domain