Yes, it can also be a defective master cylinder.
Usually that would be caused by a faulty brake light switch connected TO the brake pedal. If the brakes work the pedal is probably ok.
Sounds like the brake switch underneath the dash connected to the brake pedal is stuck. Look under the dash at where the brake pedal is connected and move the pedal with your hand and you should see an electrical connection or contact mounted to the pedal.
All brake light sensors are switches connected to the brake pedal. its a switch that is mounted on the front of the pedal on the top.
Treadle valve.
Usually in every vehicle the brake lights come on when the brake pedal is pushed in. There is a switch connected to the pedal in some way to make the light switch on.
The brake light switch is connected to the brake pedal and the brake linkage under the dash with a single bolt.
Most likely it is either the brake light switch, under the dashboard, connected to the brake pedal or the turn signal switch inside the steering column.
The brake light switch is located under the dash. It is connected to the upper arm on the Brake pedal
its probably your brake light switch. jiggle the little sensor connected to the top of the brake pedal.
all brake light switches are connected to the brake pedal --- any car or truck or van
check the brake light switch it might be sticking. located under the dash connected to the brake pedal
it connected to a break lights switch, attached to a break pedal