Question: what happens to my security deposit when property is sold?
Answer: Unless the lease or local law state otherwise, the general rule is that once a building is sold, the new owner is liable for refunding the security deposit . It does not matter if the new owner never got it from the old owner.