The suspect has been taken into custody and there is no further danger to the public, police added. No motive has been provided so far.
Germany’s Bild newspaper reported that one of the victims had died and said the incident took place at the site of electric utility company Ueberlandwerk Rhön.
A spokesperson for the company declined to comment and referred inquiries to the police.