Incorrect Authorization Affecting surrealdb-core package, versions <2.1.9>=2.2.0 <2.2.8>=2.3.0 <2.3.8>=3.0.0-alpha.1 <3.0.0-alpha.8


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 Incorrect Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUST-SURREALDBCORE-12997428
  • published22 Sept 2025
  • disclosed11 Sept 2025
  • creditMicha de Vries

Introduced: 11 Sep 2025

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

How to fix?

Upgrade surrealdb-core to version 2.1.9, 2.2.8, 2.3.8, 3.0.0-alpha.8 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Authorization via the LIVE SELECT process. An attacker can access unauthorized records by subscribing to live queries on a table and observing data changes triggered by other users, thereby bypassing intended access controls. This vulnerability can be mitigated by assessing user permissions on table records and, if necessary, using separate tables to limit exposure, though this may impact functionality.

CVSS Base Scores

version 4.0
version 3.1