The rains set off dangerous mudslides, inundated homes and destroyed bridges
One attacker was detained following the attack, they added, but warned the public to stay clear of the area in which the attack had taken place.
"We have no clear information as to the motive or the number of wounded," Hamburg police said in a tweet.