What rights does a cosigner of a mortgage loan have?

Co-signing a mortgage doesn't provide any rights. Co-signing creates responsibility. The co-signer is completely responsible for paying the mortgage if the primary borrower fails to pay, even if they don't have any ownership in the property covered by the mortgage. Co-signing is an agreement to take legal responsibility for someone else's debt.