Recently I learned that the house I am renting is being foreclosed on. The builder of my house is the owner whom I paid the security deposit too. But they hired a rental company to whom I pay my rent. The bank came to notify me that the house is foreclosed and have already put it up for sale and have people coming through. Is this allowed? And can I still get my security deposit back?