Abstract: The invention relates to a safety valve provided with an electromagnet for controlling opening thereof. According to the invention, a nut for assembling the solenoid of the electromagnet on the body of the valve comprises an inner stud which, when the solenoid is withdrawn, makes it possible to push the obturation member of the valve directly into its position of opening. One application of the invention is the production of a device for unblocking the valve in the event of failure of the electromagnet.