The home minister of Gilgit Baltistan, Shams Lone, told journalists the incident was an “act of terrorism” and said that two soldiers from Pakistan’s army were among those killed.
A local Islamic cleric, Mufti Sher Zaman, was also injured, he said.
After the incident, the location was cordoned off and police helped move traffic through the area in convoys, said senior police official Sardar Shehryar.
The chief minister of Gilgit Baltistan, Gulbar Khan, said a special investigation team was formed to investigate the incident. Law enforcement agencies were ordered to identify and arrest the culprits, he said.
Muhammad Khorasani, a spokesman for the Pakistani Taliban, also known as Tehreek-e-Taliban Pakistan or TTP, denied in a statement any link with the shooting, saying it was not carried out by their group.