CVE-2026-63740
HIGH
CVSS 7.1
SurrealDB
Verified Advisory
Array element-level SELECT permission bypass in SurrealDB (CVE-2026-63740)
SurrealDB fails to correctly enforce element-level (`field.*`) SELECT permissions for record users. Instead of hiding denied array elements, the engine leaks a subset of them due to incorrect index handling during permission filtering - removing elements while iterating forward shifts subsequent indices, causing some denied elements to remain. An authenticated record user can read array data that element-level permissions should restrict on any table they can already SELECT.
Affected versions:
- <= 3.1.3
We recommend updating to: 3.1.4.
CVSS 7.1 · our assessment: this_week
Reference: https://github.com/surrealdb/surrealdb/security/advisories/GHSA-8rw6-p7m8-63jp
Details: https://vuln.today/cve/CVE-2026-63740
Verified by vuln.today against published advisories.
Affected versions
- – <= 3.1.3
Fixed in: 3.1.4
More advisories for SurrealDB
- CVE-2026-63760 – Denial of service in SurrealDB JSON parser via nested objects (CVE-2026-63760)
- CVE-2026-63759 – Denial of Service via nested type annotations in SurrealDB (CVE-2026-63759)
- CVE-2026-63757 – Session hijacking via unauthenticated /rpc session enumeration in SurrealDB (CVE-2026-63757)
- CVE-2026-63755 – Permission check bypass in SurrealDB SELECT and update statements (CVE-2026-63755)
- CVE-2026-63754 – Denial of service via malicious LIVE queries in SurrealDB (CVE-2026-63754)
- CVE-2026-63747 – Denial of service via malformed RPC `use` call in SurrealDB (CVE-2026-63747)
- CVE-2026-63739 – Arbitrary file read via DEFINE ANALYZER mapper filter in SurrealDB (CVE-2026-63739)
- CVE-2026-63737 – Denial of service via deep operator chains in SurrealDB (CVE-2026-63737)