CVE-2025-11060
JSON

5.7medium

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

Severity
5.7medium CVSS:3.1 by redhat
Exploit likelihood
0.64% (higher than 45% of CVEs)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-7vm2-j586-vcvc

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

Product or packageVersionsReported by
surrealdbbefore 2.1.9, from 2.2.0 before 2.2.8, from 2.3.0 before 2.3.8, from 3.3.0 before 3.3.0-alpha.7CVE List
openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9Not specifiedCVE List
openshift-service-mesh/istio-cni-rhel9Not specifiedCVE List
openshift-service-mesh/istio-must-gather-rhel9Not specifiedCVE List
openshift-service-mesh/istio-pilot-rhel9Not specifiedCVE List
openshift-service-mesh/istio-proxyv2-rhel9Not specifiedCVE List
openshift-service-mesh/istio-rhel9-operatorNot specifiedCVE List
openshift-service-mesh/istio-sail-operator-bundleNot specifiedCVE List
openshift-service-mesh-tech-preview/istio-ztunnel-rhel9Not specifiedCVE List
SurrealDB (crates.io)from 2.3.0 before 2.3.8, from 2.2.0 before 2.2.8, before 2.1.9, from 3.0.0-alpha.0 before 3.0.0-alpha.8GitHub Advisory Database

All scores

redhat5.7medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database

LIVE SELECT statements are used to capture changes to data within a table in real time. Documents included in WHERE conditions and DELETE notifications were not properly reduced to respect the querying user's security context. Instead the leaked documents reflect the context of the user triggering the notification.

This allows a record or guest user with permissions to run live query subscriptions on a table to observe unauthorised records within the same table, when another user is altering or deleting these records, bypassing access controls.

Impact

A record or guest user with permissions to run live query subscriptions on a table is able to observe unauthorised records within the same table, with unauthorised records returned when deleted, or when records matching the WHERE conditions are created, updated, or deleted, by another user. This impacts confidentiality, limited to the table the attacker has access to, and with the data disclosed dependent of the actions taken by other users.

Patches

A patch has been created for the following versions:

  • Versions 2.1.9, 2.2.8 and 2.3.8 and later are not affected by this issue.
  • The first release following v3.0.0-alpha.7 will be patched.
Workarounds

Assess the impact of users with permissions on table records effectively having full read access to the table, use separate tables if required, with impacts to functionality.

NVD (es)

Se encontró una falla en el mecanismo de suscripción de consultas en vivo del motor de la base de datos. Esta vulnerabilidad permite a usuarios registrados o invitados observar registros no autorizados dentro de la misma tabla, eludiendo los controles de acceso, a través de suscripciones LIVE SELECT manipuladas cuando otros usuarios modifican o eliminan registros.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-11060 changed 2025-11-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-7vm2-j586-vcvc changed 2025-09-26CC-BY-4.0
NVDCVE-2025-11060 changed 2026-10-09Public domain