Skip to main content
VulnerabilityPublished Updated

CVE-2026-63740: SurrealDB · Array element-level (field.*) SELECT permissions leak denied elements to record users

Affects surrealdbSource GCVE Database

0

Mentioned vulnerabilities

CVSS 6.5 Medium : upgrade to 3.1.4 when convenient.

Data as of 13 Sep 2026, 12:54 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 3.1.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What to do

Upgrade surrealdb to 3.1.4.

Affected software

ProductAffectedFixed in
crates.iosurrealdbAffected
  • <3.1.4
Fixed in
  • 3.1.4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch fixing this vulnerability is available in SurrealDB version 3.1.4. Users should upgrade to this version to resolve the issue. Until patched, avoid relying on element-level (field.*) SELECT permissions to hide data from record users; instead, use field-level permissions which are correctly enforced. Alternatively, restrict record users from selecting tables that use element-level permissions.

Description

SurrealDB versions prior to 3.1.4 contain a vulnerability where array element-level SELECT permissions (field.*) are not correctly enforced for record users. This causes denied array elements to be partially leaked in query results. The issue affects only element-level permissions for record users, not field-level permissions or root/record-owner sessions. The vulnerability impacts confidentiality but does not allow data modification or privilege escalation. A fix is available in SurrealDB 3.1.4.

References

Community reviews

Loading reviews…