CVE-2026-134306
CVE-2026-134306 · SurrealDB before 4.0.0 Field Permission Bypass via Wildcard Array-Index Drift
CVSS 5.3 · Medium · EPSS 0.3% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- surrealdbUpdate to 4.0.0
Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
- Published
- Updated
Affected products and versions
surrealdb
- Versions
- ≥ 0, < 4.0.0: Affected (semver)
- 4.0.0: Not affected (semver)
Update to 4.0.0
Original sources
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-wjh3-m4pv-q6cp
- https://github.com/surrealdb/surrealdb/commit/fa6643f1904f96842ccb1ad885f5204992b87021
- https://www.vulncheck.com/advisories/surrealdb-before-4.0.0-field-permission-bypass-via-wildcard-array-index-drift
- https://nvd.nist.gov/vuln/detail/CVE-2026-134306