Skip to main content
VulnerabilityPublished Updated

Duplicate Advisory: SurrealDB: Array element-level (field.*) SELECT permissions leak denied elements to record users

Affects surrealdbSource GCVE Database

0

CVSS 6.5 Medium.

Data as of 7 Sep 2026, 10:07 UTC

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

What to do

Affected software

ProductAffectedFixed in
crates.iosurrealdbAffected
  • <=3.1.3
Fixed in–

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

AI-suggested

A fixed version 3.1.4 or later should be used to remediate this vulnerability. Since the advisory states versions up to 3.1.3 are affected, upgrading to 3.1.4 or newer is recommended. There is no indication that this vulnerability is mitigated by configuration or other means.

Description

SurrealDB versions up to 3.1.3 contain a vulnerability where SELECT permissions on array elements (field.*) are not properly enforced for record users. This flaw causes denied array elements to be leaked instead of hidden, allowing attackers with record scope access to read data they should not be able to access. The issue arises from incorrect index handling during permission filtering. This vulnerability has a CVSS score of 6.5, indicating a high severity impact on confidentiality without affecting integrity or availability.

References

Community reviews

Loading reviews…