More than 27,000 units of hair regrowth treatment have been recalled.