Vacuum cleaners can become smelly because of a dirty container, filter, hose, or attachments. If your vacuum is bagged, the first thing to get rid of the smell is to change the bag immediately. Then you should clean the filter and check the hose or attachments.