---
id: CVE-2026-109343
title: >-
  SurrealDB before 3.3.0 allows cross-tenant access because the SurrealQL USE
  statement switches a session to any namespace/database without checking that
  the caller's authenticated level covers it
summary: >-
  SurrealDB before 3.3.0 allows cross-tenant access because the SurrealQL USE
  statement switches a session to any namespace/database without checking that
  the caller's authenticated level covers it. Authenticated namespace, database,
  or re…
severity: high
cvss: 8.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'
cwe:
  - CWE-639
published: '2026-10-12'
updated: '2026-10-12'
sourceUpdated: '2026-10-12T17:17:31.010'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-109343'
references:
  - url: >-
      https://github.com/surrealdb/surrealdb/security/advisories/GHSA-2v9j-645m-pcrq
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/surrealdb-before-3.3.0-cross-tenant-access-via-use-statement
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-12T18:00:08.208Z'
---

## Overview

SurrealDB before 3.3.0 allows cross-tenant access because the SurrealQL USE statement switches a session to any namespace/database without checking that the caller's authenticated level covers it. Authenticated namespace, database, or record users can switch to another tenant and read, create, update, or delete rows in tables whose PERMISSIONS allow it, such as PERMISSIONS FULL.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
