If your written lease contains an express provision within it allowing you as the tenant to terminate your lease if the property essentially is foreclosed upon (this seems to be what you are writing), then you can contractually end your lease without any recourse to the former landlord or current landlord.Under federal 2010 law, tenants do have rights to remain in the rental post foreclosure if rent is current. The length of time to remain depends upon if the lease has a term left on it or is month-to-month.