Skip to content
OpenAdvisories
Medium · 5.7 CVE-2025-11060 EUVD-2025-31339GHSA-7vm2-j586-vcvcGHSA-98f8-j56x-2hh4

Surrealdb: surrealdb is vulnerable to unauthorized data exposure via live query subscriptions

Published Sep 26, 2025 · Updated Nov 7, 2025 · Assigned by redhat

Description

A flaw was found in the live query subscription mechanism of the database engine. This vulnerability allows record or guest users to observe unauthorized records within the same table, bypassing access controls, via crafted LIVE SELECT subscriptions when other users alter or delete records.

Affected products

VendorProductAffectedFixed
— surrealdb < 2.1.9, 2.2.0 – < 2.2.8, 2.3.0 – < 2.3.8, 3.3.0 – < 3.3.0-alpha.7 2.1.9
Red Hat OpenShift Service Mesh 3 — —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io SurrealDB >= 2.3.0, < 2.3.8 2.3.8 GHSA-7vm2-j586-vcvc
crates.io SurrealDB >= 2.2.0, < 2.2.8 2.2.8 GHSA-7vm2-j586-vcvc
crates.io SurrealDB < 2.1.9 2.1.9 GHSA-7vm2-j586-vcvc
crates.io SurrealDB >= 3.0.0-alpha.0, < 3.0.0-alpha.8 3.0.0-alpha.8 GHSA-7vm2-j586-vcvc

References