A member of parliament from the province, Khalid Pashtun provided the toll of the attack.
An Afghan security official, speaking on condition of anonymity because he was not authorised to release the information, confirmed the toll.
In a media statement, the Taliban claimed responsibility of the attack. Afghan forces have struggled to combat a resurgent Taliban since the US and NATO forces formally concluded their combat mission at the end of 2014.
Elsewhere in Afghanistan, a Taliban ambush in the northern Balkh province late Wednesday killed six police, according to Shir Jan Durani, spokesman for the provincial police chief.
(With PTI inputs)