Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. surrealdb
  4. ›
  5. GHSA-6wqw-vhfr-9999

GHSA-6wqw-vhfr-9999: SurrealDB: Authenticated subscribers can read records hidden by SELECT permissions via LIVE subscriptions

July 1, 2026

A record user could read records the table’s SELECT permission expression should have hidden, when that expression referenced $value, $before, $after, or $event. Binding a chosen value to that name before registering a LIVE SELECT caused notifications to evaluate the permission against the attacker’s input instead of the real document.

References

  • github.com/advisories/GHSA-6wqw-vhfr-9999
  • github.com/orgs/surrealdb/discussions/101
  • github.com/surrealdb/surrealdb/commit/6bcc55c9c0494a0d4d36821019b54459f7162af7
  • github.com/surrealdb/surrealdb/security/advisories/GHSA-6wqw-vhfr-9999

Code Behaviors & Features

Detect and mitigate GHSA-6wqw-vhfr-9999 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 3.1.0

Fixed versions

  • 3.1.0

Solution

Upgrade to version 3.1.0 or above.

Impact 4.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

cargo/surrealdb/GHSA-6wqw-vhfr-9999.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 13 Jul 2026 00:21:25 +0000.