According to the local government officials, the incident took place recently in the vicinity of Qosh Tapa district.
District administrative chief Aminullah Amin confirmed the incident and said the militants killed in the explosion were originally hailing from Uzbekistan.
He said the incident took place as the militants were busy in the making of an improvised explosive device.
The anti-government armed militant groups have not commented regarding the report so far.
The anti-government armed militant groups frequently use explosives materials for the roadside bombings and car bombings to target the government staff and security personnel.
However, in majority of such incidents the ordinary civilians are targeted besides such bombings incur casualties to the security personnel and in some cases the Taliban militants themselves are killed or wounded.
The United Nations Assistance Mission in Afghanistan (UNAMA) in its latest reported highlighted that 40 per cent of all civilian casualties during the six-month period were killed or injured by anti-government forces using improvised explosive devices (IEDs), such as suicide bombs and pressure-plate devices, which were responsible for the deaths of 596 civilians and injured 1,483.