Using a continuous positive airway pressure (CPAP) machine to treat sleep apnea comes with a potential risk of infection, including sinus infections and pneumonia. Luckily, this risk is extremely low.