Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. surrealdb
  4. ›
  5. GHSA-vjjx-rfw4-rmfc

GHSA-vjjx-rfw4-rmfc: SurrealDB: Graph traversal bypasses table SELECT permissions

July 1, 2026 (updated September 4, 2026)

An authenticated record or scope user could read records on any table reachable through a graph edge or REFERENCES TO back-reference, regardless of that table’s PERMISSIONS FOR select clause.

Traversing SELECT * FROM source->edge->target returned full documents from target even when target was defined as PERMISSIONS FOR select NONE. The same bypass extended through multi-hop chains, so any table reachable by a sequence of edges from a readable starting point was exposed.

The root cause: GraphEdgeScan and ReferenceScan fetched records straight from storage without routing them through Document::pluck_select, so the target table’s permission expression was never consulted.

References

  • github.com/advisories/GHSA-vjjx-rfw4-rmfc
  • github.com/surrealdb/surrealdb/security/advisories/GHSA-vjjx-rfw4-rmfc
  • nvd.nist.gov/vuln/detail/CVE-2026-63746
  • www.vulncheck.com/advisories/surrealdb-before-permission-bypass-via-graph-traversal

Code Behaviors & Features

Detect and mitigate GHSA-vjjx-rfw4-rmfc with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 3.1.0

Fixed versions

  • 3.1.0

Solution

Upgrade to version 3.1.0 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
  • CWE-863: Incorrect Authorization

Source file

cargo/surrealdb/GHSA-vjjx-rfw4-rmfc.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:18 +0000.