What legal recourse is there for the cosigner when the person that was cosigned for has defaulted on the loan?

The usual legal recourse for the cosigner when the person named as the primary on a loan has defaulted, is to make the payments on the loan. Then, the cosigner can take the person who defaulted to court to try and recoup some of the money they are out. If the loan was for a car, some states allow the cosigner to take possession of the car and sell it to recoup losses also.