Missing Authorization Affecting surrealdb package, versions <3.1.0-beta.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-SURREALDB-17797663
  • published2 Jul 2026
  • disclosed1 Jul 2026
  • creditUnknown

Introduced: 1 Jul 2026

New CVE NOT AVAILABLE CWE-862  (opens in a new tab)

How to fix?

Upgrade surrealdb to version 3.1.0-beta.1 or higher.

Overview

Affected versions of this package are vulnerable to Missing Authorization in the KILL process. An attacker can disrupt other users' real-time data subscriptions by issuing a KILL statement with the target live query's UUID, resulting in silent termination of live queries without notification. This can be performed by any authenticated user with database-level access, regardless of privilege level, if they obtain the UUID through application logs, shared dashboards, or other information disclosure vectors.

Workaround

This vulnerability can be mitigated by treating live query UUIDs as sensitive values, avoiding their exposure in logs or shared interfaces, using separate databases per tenant for strict isolation, and monitoring for unexpected live query terminations with reconnection mechanisms.

CVSS Base Scores

version 4.0
version 3.1