From what you have written, it does not seem that the landlord will be losing the property due to unpaid property taxes. Rather, if you are paying rent directly to the bank, it seems that the landlord is not servicing the debt load for the property under the existing mortgage or trust deed.If so, the landlord could lose the rental in a foreclosure. Naturally, you are concerned about where you would live if this happens.Last year, a federal law was passed concerning the situation you are facing. If a tenant has a set term lease for a property and it is foreclosed upon, the tenant is allowed to stay in the rented unit until the end of the lease's term as long as the tenant is current on the monthly rental payments.If the foreclosed rental is on a month-to-month lease, the tenant has 90 days written notice to vacate the unit from the new owner.If the landlord loses the property in foreclosure, he or she is obligated to return your security deposit and last month's rent to either you or the new owner who obtained title to the rental via the foreclosure sale.Good luck.