If the house is in foreclosure, you are going to have to move when it goes to auction. If you haven't signed a new lease, you are a month-to-month tenant and can be told to leave with a 30-day notice. If you haven't signed a lease, I would be looking around for a new spot to live, and give notice as soon as you have found one. Also, if the place is being foreclosed on, it means that the owner's finances are not in good shape, which means that it is likely that you will not get your security deposit back. Legally they are required to refund it if there are no damages, but if they don't have the money, what's the likelihood of that?