The incident occurred on Monday evening in the capital of Sar-e-Pul, the officials added.
According to security officials, no suspect has been arrested in connection with the incident so far.
However, investigations are underway.
The officials did not provide further details regarding the incident.
No group including the Taliban has claimed responsibility behind the attack.