Did you know the foreclosure was coming? Or did you just get a knock on the door one day?
Could you add a contractual term requiring the landlord to notify you in the event of a default? and/or that a default would constitute a breach of contract allowing you out of your lease? If the landlord balks at such a request, that would be another red flag.
I just hate the fact that some landlords aren’t paying the mortgage but keep the rent payments. I wish I had taken this advice before renting, it would have saved a lot of headache now that our rental is headed toward foreclosure.