At this time, there is not enough scientific evidence to conclude that cannabis causes your immune system to malfunction. Some studies suggest that cannabis use may be associated with an increased risk of certain infections, such as fungal infections. It is important to speak with your doctor to determine if cannabis use is safe for you.