CVE-2025-11060
Rust vulnerability analysis and mitigation

Overview

A vulnerability (CVE-2025-11060) was discovered in SurrealDB's live query subscription mechanism. The flaw was found in the database engine where record or guest users could observe unauthorized records within the same table, bypassing access controls, through crafted LIVE SELECT subscriptions when other users alter or delete records. The vulnerability was disclosed on September 11, 2025, affecting versions prior to 2.1.9, 2.2.8, 2.3.8, and 3.0.0-alpha.7 (GitHub Advisory, NVD).

Technical details

The vulnerability stems from improper handling of document reduction in LIVE SELECT statements, which are used to capture real-time changes to data within a table. Documents included in WHERE conditions and DELETE notifications were not properly reduced to respect the querying user's security context. Instead, the leaked documents reflected the context of the user triggering the notification. The vulnerability has been assigned a CVSS v3.1 base score of 5.7 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N (Red Hat).

Impact

The vulnerability allows record or guest users with permissions to run live query subscriptions on a table to observe unauthorized records within the same table. Unauthorized records are exposed when they are deleted, or when records matching the WHERE conditions are created, updated, or deleted by another user. The impact is limited to confidentiality breaches within tables the attacker has access to, with data disclosure dependent on actions taken by other users (GitHub Advisory).

Mitigation and workarounds

Patches have been released in versions 2.1.9, 2.2.8, and 2.3.8. For version 3.x, the fix will be included in the first release following v3.0.0-alpha.7. As a workaround, administrators should assess the impact of users with permissions on table records effectively having full read access to the table and consider using separate tables if required, though this may impact functionality (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61588CRITICAL9.3
  • RustRust
  • risc0-aggregation
NoYesOct 02, 2025
CVE-2025-59825MEDIUM6.1
  • RustRust
  • uv-debuginfo
NoYesSep 23, 2025
CVE-2025-11060MEDIUM5.7
  • RustRust
  • surrealdb
NoYesSep 26, 2025
GHSA-qr9h-x63w-vqfmMEDIUM4.1
  • RustRust
  • openmls
NoYesSep 26, 2025
GHSA-mm7x-qfjj-5g2cLOW1.7
  • RustRust
  • ammonia
NoYesSep 22, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management