Skip to main content
VulnerabilityPublished Updated

Duplicate Advisory: SurrealDB: Indexed ORDER BY leaks the value ordering of a SELECT-restricted field

Affects surrealdbSource GCVE Database

0

CVSS 4.3 Medium.

Data as of 7 Sep 2026, 15:38 UTC

CVSS 3.1 base score
4.3Medium
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:L/I:N/A:N

What to do

Affected software

ProductAffectedFixed in
crates.iosurrealdbAffected
  • >=3.0.0
Fixed in–

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

AI-suggested

Until a fix is available, avoid relying on field-level SELECT permissions to protect sensitive ordering information or restrict authenticated user query capabilities accordingly.

Description

SurrealDB versions 3.0.0 and later before 3.1.5 have a vulnerability where field-level SELECT permissions are not enforced on ORDER BY clauses. This allows authenticated users to infer the relative ordering of restricted field values even though the field values themselves are returned as null.

References

Community reviews

Loading reviews…