# CVE-2026-134306: SurrealDB before 4.0.0 Field Permission Bypass via Wildcard Array-Index Drift

- Severity: Medium 5.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 26% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-11-21T16:35:02.643Z
- Modified: 2026-11-23T20:18:00.410Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- surrealdb surrealdb: before 4.0.0 (not affected: 4.0.0)

## Every score

- VulnCheck: CVSS:4.0 5.3 Medium `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`
- VulnCheck: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wjh3-m4pv-q6cp> (exploit, vendor-advisory)
- <https://github.com/surrealdb/surrealdb/commit/fa6643f1904f96842ccb1ad885f5204992b87021> (patch)
- <https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-field-permission-bypass-via-wildcard-array-index-drift> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-134306](https://www.cve.org/CVERecord?id=CVE-2026-134306), CVE Terms of Use, modified 2026-11-23
- NVD: [CVE-2026-134306](https://nvd.nist.gov/vuln/detail/CVE-2026-134306), Public domain, modified 2026-11-23

---

Page: https://cve.day/CVE-2026-134306 · Whole record: https://cve.day/CVE-2026-134306.json · Rebuilt by cve.day 2026-11-25T22:59:52.538Z
