Realtors

Who pays the realtor’s commissions when buying a foreclosure or REO through a real estate agency?

The bank, as buyer you don’t pay commission unless you make a previous arragement with the realtor

As stated. The sales commission on a home is always paid by the sellers.