On title but not mortgage

I am on the title to property that my ex and I purchased, but I am not on the mortgage as a borrower. We have since divorced, but ED has not been determined. A couple years after the divorce, he took out a large loan $400K against the property. He stated that he was the sole owner (in writing) when he signed for the loan. Question: If he defaults, can the bank come after me for the money or can my credit be ruined in any way if he does not pay?

No, they cannot come after you personally since you are not on the loan, but the bank can foreclose on the house.

I’m in the same situation. I’m on the title but not the mortgage. If the bank forecloses on the house, does that ruin MY credit as well even if I’m not on the mortgage but on the title?

No.