{"id":"CVE-2026-134306","aliases":["GHSA-wjh3-m4pv-q6cp"],"title":"SurrealDB before 4.0.0 Field Permission Bypass via Wildcard Array-Index Drift","originalDescription":"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.","severity":{"cvss":5.3,"vector":"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","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00331,"percentile":0.18776},"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"surrealdb","range":">=0, <4.0.0","fixed":"4.0.0"}],"references":[{"url":"https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wjh3-m4pv-q6cp","type":"vendor-advisory"},{"url":"https://github.com/surrealdb/surrealdb/commit/fa6643f1904f96842ccb1ad885f5204992b87021","type":"patch"},{"url":"https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-field-permission-bypass-via-wildcard-array-index-drift","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134306.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134306","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-23T20:27:07.095Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-134306","license":"NVD terms of use","firstSeenAt":"2026-11-21T17:43:05.299Z"},{"name":"osv","at":"2026-11-22T21:46:47.660Z","url":"https://osv.dev/vulnerability/CVE-2026-134306","license":"CC-BY 4.0","firstSeenAt":"2026-11-21T18:16:32.457Z"},{"name":"cvelistV5","at":"2026-11-24T12:24:13.826Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-134306","license":"CVE Terms of Use","firstSeenAt":"2026-11-21T17:07:33.557Z"}],"firstSeenAt":"2026-11-21T17:07:33.557Z","publishedAt":"2026-11-21T16:35:02.643Z","modifiedAt":"2026-11-23T20:18:00.410Z"}