Depending on the eviction laws in Maryland will determine what can be done to you.
The only thing you have going presently is the bank,
at this time,
does not own the property.
The current owner gave those on the lease permission to stay there rent free,
though I can not figure out why he would do that.
You are not on the lease therefore do not really have permission to stay there.
All lenders decide when to place a property in foreclosure based on their policy.
So some might immediately place a property in foreclosure when a borrower miss his first payment while others might wait in excess of 6-9 months.
Once the property has been placed in foreclosure a document will be sent to the property indicating that the property is currently in foreclosure.
Once that document is received normally the borrower have 120 days in which to bring the mortgage current.
Failure to bring the mortgage current after 90 days have elapsed,
the lender could then send a "Notice of Sale" Again the lender makes the policy so some send this notice out immediately when the 90 days have expired while others might not send this document for a few weeks of perhaps a month.
This document set the date,
time and place where the property will be sold.
Once the borrower receive this document there are approximately 20 days before the actual sale.
At the sale if some one has been successful in purchasing the property,
once all the documents have been signed transferring the property to the new owner,
then the new owner will contact you about a move out date.
If the property does not sell,
the lender still have to get the property legally transferred to them so once this is done,
the lender normally hire a real estate broker to sell the property and represent them with all matters involved in the property so a representative will contact you about when you are expected to move.
If you fail to move on the day you agree to move then an eviction notice will be served on you by the local marshal or sheriff or what ever law enforcement agency handle evictions in your county.
If the current owner find out you are living there he could evict you himself without your name being on the lease.
I hope this has been of some use to you,