Septic arthritis can develop when an infection, such as a skin infection or urinary tract infection, spreads through your bloodstream to a joint. Less commonly, a puncture wound, drug injection, or surgery in or near a joint — including joint replacement surgery — can give the germs entry into the joint space.