SurrealDB versions prior to 3.3.0 contain a vulnerability where the SurrealQL USE statement allows authenticated users to switch sessions to any namespace or database without proper authorization checks. This flaw enables cross-tenant access, permitting users to read, create, update, or delete data in other tenants' tables if permissions allow, such as with full permissions.