CVE-2026-134306surrealdb Incorrect Authorization
NVD
Vulnerability Summary
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.
CVSS v4.0 Base Metrics — Score 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:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredLow
User InteractionNone
Confidentiality (Vulnerable System)Low
Integrity (Vulnerable System)None
Availability (Vulnerable System)None
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Show CVSS v3.x metrics (score 4.3)
CVSS v3.1 Base Metrics — Score 4.3 (MEDIUM)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NAttack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityLow
IntegrityNone
AvailabilityNone
Affected & Patched Versions
- surrealdb < 4.0.0
- surrealdb 4.0.0
What to do
Fix it during your normal patch cycle. No exploitation is confirmed yet.
- Check whether you run surrealdb and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 21, 2026Published
- Nov 21, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new surrealdb CVEsYou are reading CVE-2026-134306. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsMore surrealdb CVEs
External References
- Vendor Advisoryhttps://github.com/surrealdb/surrealdb/security/advisories/GHSA-wjh3-m4pv-q6cp
- Patchhttps://github.com/surrealdb/surrealdb/commit/fa6643f1904f96842ccb1ad885f5204992b87021
- Referencehttps://www.vulncheck.com/advisories/surrealdb-before-4.0.0-field-permission-bypass-via-wildcard-array-index-drift
Data last checked: Nov 22, 2026 16:06 UTC