Master cylinder leak ????

Bad seals are allowing the fluid to back flush so when you push the brake peddle fluid is moving in both directions.