Cubicin is used to treat adults with the following bacterial infections: • complicated infections of the skin or in the layers of flesh under the skin (soft tissues), • right-sided infective endocarditis (infection of the lining or the valves of the right side of the heart) caused by the bacterium Staphylococcus aureus.