Thank you for asking your question on Just Answer.
The common reason for this type of leak is a leaking brake pressure switch which mounts to the side of the master cylinder. Unplug it and look inside of it. If its leaking this can cause the cruise to stop working as well. If its dry then suspect a leaking master cylinder.