Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. surrealdb
  4. ›
  5. CVE-2025-11060

CVE-2025-11060: SurrealDB is Vulnerable to Unauthorized Data Exposure via LIVE Query Subscriptions

September 11, 2025 (updated November 10, 2025)

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.

References

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

Code Behaviors & Features

Detect and mitigate CVE-2025-11060 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.1.9, all versions starting from 2.2.0 before 2.2.8, all versions starting from 2.3.0 before 2.3.8, all versions starting from 3.0.0-alpha.0 before 3.0.0-alpha.8

Fixed versions

  • 2.3.8
  • 2.2.8
  • 2.1.9
  • 3.0.0-alpha.8

Solution

Upgrade to versions 2.1.9, 2.2.8, 2.3.8, 3.0.0-alpha.8 or above.

Impact 5.7 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

cargo/surrealdb/CVE-2025-11060.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 14 Dec 2025 00:19:00 +0000.