CVE-2026-134306 SurrealDB before 4.0.0 Field Permission Bypass via Wildcard Array-Index Drift
MediumCVSS 5.3
EPSS 0.33%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io surrealdb | < 4.0.0 | 4.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io surrealdb | < 4.0.0 | 4.0.0 |
References
- GitHub Security Advisory (GHSA-wjh3-m4pv-q6cp) exploit vendor-advisory
- github.com patch
- VulnCheck Advisory: SurrealDB before 4.0.0 Field Permission Bypass via Wildcard Array-Index Drift third-party-advisory
- ENISA EUVD EUVD-2026-132245 third-party-advisory
- nvd.nist.gov