Either a sensor or a bad wire to the sensor and possible a bad brake line. Its going to cast a few hundred dollars. Its about 250 for the replacement of the sensor(give or take, all vehicles are different) and to repair a brake line is about a hundred dollars. All depends all which shop you take it to, dealerships are more expensive and some shops charge different rates. Get an estimate at different places, talk is cheap.